activate_wp_head
Fires before the Site Activation page is loaded.
Description
do_action( 'activate_wp_head' );
Fires on the action.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'activate_wp_head' );
- The following example is for adding a hook callback.
- // define the activate_wp_head callback
- function action_activate_wp_head( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'activate_wp_head', 'action_activate_wp_head', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'activate_wp_head', 'action_activate_wp_head', 10, 0 );
Defined (1)
The action is defined in the following location(s).
- /wp-activate.php
- do_action( 'activate_wp_head' );