do_action( 'init' )

Fires after WordPress has finished loading but before any headers are sent.