before_signup_form
Action HookDescription
Fires before the site Sign-up form.Hook Information
File Location |
wp-signup.php
View on GitHub
|
Hook Type | Action |
Line Number | 103 |
Hook Parameters
This hook doesn't accept any parameters.
Usage Examples
Basic Usage
<?php
// Hook into before_signup_form
add_action('before_signup_form', 'my_custom_function');
function my_custom_function() {
// Your custom code here
}
Source Code Context
wp-signup.php:103
- How this hook is used in WordPress core
<?php
98 /**
99 * Fires before the site Sign-up form.
100 *
101 * @since 3.0.0
102 */
103 do_action( 'before_signup_form' );
104 ?>
105 <div id="signup-content" class="widecolumn">
106 <div class="mu_register wp-signup-container" role="main">
107 <?php
108 /**
PHP Documentation
<?php
/**
* Fires before the site Sign-up form.
*
* @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.