Action hook 'signup_header'

in WP Core File wp-signup.php at line 35

View Source

signup_header

Action Hook
Description
Fires within the head section of the site sign-up screen.

Hook Information

File Location wp-signup.php View on GitHub
Hook Type Action
Line Number 35

Hook Parameters

This hook doesn't accept any parameters.

Usage Examples

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

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

Source Code Context

wp-signup.php:35 - How this hook is used in WordPress core
<?php
  30  	/**
  31  	 * Fires within the head section of the site sign-up screen.
  32  	 *
  33  	 * @since 3.0.0
  34  	 */
  35  	do_action( 'signup_header' );
  36  }
  37  add_action( 'wp_head', 'do_signup_header' );
  38  
  39  if ( ! is_multisite() ) {
  40  	wp_redirect( wp_registration_url() );

PHP Documentation

<?php
/**
	 * Fires within the head section of the site sign-up screen.
	 *
	 * @since 3.0.0
	 */
Quick Info
  • Hook Type: Action
  • Parameters: 0
  • File: wp-signup.php
Related Hooks

Related hooks will be displayed here in future updates.