do_action( 'activate_header' )
Fires before the Site Activation page is loaded.
Description Description
Source Source
File: wp-activate.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
activate_header
hook is defined inwp-activate.php
file which includes theme’sheader.php
but not thefunctions.php
file. So it will throw fatal errors if any function or functions called on fire of this hook which are defined in theme’sfunctions.php
. Also it’ll not work if you hook any function infunctions.php
. And thiswp-activate.php
page is only being called when WordPress multi site network is activate.