register_post

register_post

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.4

do_action('register_post') is found 1 times:

  • /wp-includes/user.php line 3393
    	 * @param WP_Error $errors               Contains any errors with submitted username and email,
    	 *                                       e.g., an empty field, an invalid username or email,
    	 *                                       or an existing username or email.
    	 */
    	do_action( 'register_post', $sanitized_user_login, $user_email, $errors );
    
    	/**
    	 * Filters the errors encountered when a new user is being registered.
    	 *
    	 * The filtered WP_Error object may, for example, contain errors for an invalid
    	 * or existing username or email address. A WP_Error object should always be returned,
    

See this hook used in plugins: