Action hook 'before_signup_header'

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

View Source

before_signup_header

Action Hook
Description
Fires before the Site Sign-up page is loaded.

Hook Information

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

Hook Parameters

This hook doesn't accept any parameters.

Usage Examples

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

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

Source Code Context

wp-signup.php:57 - How this hook is used in WordPress core
<?php
  52  /**
  53   * Fires before the Site Sign-up page is loaded.
  54   *
  55   * @since 4.4.0
  56   */
  57  do_action( 'before_signup_header' );
  58  
  59  /**
  60   * Prints styles for front-end Multisite Sign-up pages.
  61   *
  62   * @since MU (3.0.0)

PHP Documentation

<?php
/**
 * Fires before the Site Sign-up page is loaded.
 *
 * @since 4.4.0
 */
Quick Info
  • Hook Type: Action
  • Parameters: 0
  • File: wp-signup.php
Related Hooks

Related hooks will be displayed here in future updates.