Title: do_activate_header
Published: April 25, 2014
Last modified: February 24, 2026

---

# do_activate_header()

## In this article

 * [Description](https://developer.wordpress.org/reference/functions/do_activate_header/?output_format=md#description)
 * [Source](https://developer.wordpress.org/reference/functions/do_activate_header/?output_format=md#source)
 * [Hooks](https://developer.wordpress.org/reference/functions/do_activate_header/?output_format=md#hooks)
 * [Related](https://developer.wordpress.org/reference/functions/do_activate_header/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/functions/do_activate_header/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/functions/do_activate_header/?output_format=md#wp--skip-link--target)

Adds an action hook specific to this page.

## 󠀁[Description](https://developer.wordpress.org/reference/functions/do_activate_header/?output_format=md#description)󠁿

Fires on [‘wp_head’](https://developer.wordpress.org/reference/hooks/wp_head/).

## 󠀁[Source](https://developer.wordpress.org/reference/functions/do_activate_header/?output_format=md#source)󠁿

    ```php
    function do_activate_header() {
    	/**
    	 * Fires within the `<head>` section of the Site Activation page.
    	 *
    	 * Fires on the 'wp_head' action.
    	 *
    	 * @since 3.0.0
    	 */
    	do_action( 'activate_wp_head' );
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-activate.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-activate.php#L84)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-activate.php#L84-L93)

## 󠀁[Hooks](https://developer.wordpress.org/reference/functions/do_activate_header/?output_format=md#hooks)󠁿

 [do_action( ‘activate_wp_head’ )](https://developer.wordpress.org/reference/hooks/activate_wp_head/)

Fires within the  section of the Site Activation page.

## 󠀁[Related](https://developer.wordpress.org/reference/functions/do_activate_header/?output_format=md#related)󠁿

| Uses | Description | 
| [do_action()](https://developer.wordpress.org/reference/functions/do_action/)`wp-includes/plugin.php` |

Calls the callback functions that have been added to an action hook.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/functions/do_activate_header/?output_format=md#changelog)󠁿

| Version | Description | 
| [MU (3.0.0)](https://developer.wordpress.org/reference/since/mu.3.0.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fdo_activate_header%2F)
before being able to contribute a note or feedback.