Replace admin hook with appropriate public hook.