apply_filters( ‘signup_user_init’, array $signup_user_defaults )

In this article

Filters the default user variables used on the user sign-up form.

Parameters

$signup_user_defaultsarray
An array of default user variables.
  • user_name string
    The user username.
  • user_email string
    The user email address.
  • errors WP_Error
    A WP_Error object with possible errors relevant to the sign-up user.

Source

$filtered_results = apply_filters( 'signup_user_init', $signup_user_defaults );

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.