Action hook 'activate_wp_head'

in WP Core File wp-activate.php at line 96

View Source

activate_wp_head

Action Hook
Description
Fires within the `` section of the Site Activation page. Fires on the {@see 'wp_head'} action.

Hook Information

File Location wp-activate.php View on GitHub
Hook Type Action
Line Number 96

Hook Parameters

This hook doesn't accept any parameters.

Usage Examples

Basic Usage
<?php
// Hook into activate_wp_head
add_action('activate_wp_head', 'my_custom_function');

function my_custom_function() {
    // Your custom code here
}

Source Code Context

wp-activate.php:96 - How this hook is used in WordPress core
<?php
  91  	 *
  92  	 * Fires on the {@see 'wp_head'} action.
  93  	 *
  94  	 * @since 3.0.0
  95  	 */
  96  	do_action( 'activate_wp_head' );
  97  }
  98  add_action( 'wp_head', 'do_activate_header' );
  99  
 100  /**
 101   * Loads styles specific to this page.

PHP Documentation

<?php
/**
	 * Fires within the `<head>` section of the Site Activation page.
	 *
	 * Fires on the {@see 'wp_head'} action.
	 *
	 * @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.