do_action( ‘activate_header’ )

In this article

Fires before the Site Activation page is loaded.

Source

do_action( 'activate_header' );

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

  1. Skip to note 2 content

    activate_header hook is defined in wp-activate.php file which includes theme’s header.php but not the functions.php file. So it will throw fatal errors if any function or functions called on fire of this hook which are defined in theme’s functions.php. Also it’ll not work if you hook any function in functions.php. And this wp-activate.php page is only being called when WordPress multi site network is activate.

You must log in before being able to contribute a note or feedback.