activate_header
Fires before the Site Activation page is loaded.
Usage
add_action( 'activate_header', 'wp_kama_activate_header_action' );
/**
* Function for `activate_header` action-hook.
*
* @return void
*/
function wp_kama_activate_header_action(){
// action...
}Changelog
| Since 3.0.0 | Introduced. |
Where the hook is called
In file: /wp-activate.php
activate_header
wp-activate.php 75
do_action( 'activate_header' );
Where the hook is used in WordPress
wp-includes/default-filters.php 699
add_action( 'activate_header', '_wp_admin_bar_init' );