activate_header
Action HookDescription
Fires before the Site Activation page is loaded.Hook Information
File Location |
wp-activate.php
View on GitHub
|
Hook Type | Action |
Line Number | 79 |
Hook Parameters
This hook doesn't accept any parameters.
Usage Examples
Basic Usage
<?php
// Hook into activate_header
add_action('activate_header', 'my_custom_function');
function my_custom_function() {
// Your custom code here
}
Source Code Context
wp-activate.php:79
- How this hook is used in WordPress core
<?php
74 /**
75 * Fires before the Site Activation page is loaded.
76 *
77 * @since 3.0.0
78 */
79 do_action( 'activate_header' );
80
81 /**
82 * Adds an action hook specific to this page.
83 *
84 * Fires on {@see 'wp_head'}.
PHP Documentation
<?php
/**
* Fires before the Site Activation page is loaded.
*
* @since 3.0.0
*/
Quick Info
- Hook Type: Action
- Parameters: 0
- File: wp-activate.php
Related Hooks
Related hooks will be displayed here in future updates.