do_action( ‘user_new_form’, string $type )

Fires at the end of the new user form.

Description

Passes a contextual string to make both types of new user forms uniquely targetable. Contexts are ‘add-existing-user’ (Multisite), and ‘add-new-user’ (single site and network admin).

Parameters

$typestring
A contextual string specifying which type of new user form the hook follows.

Source

do_action( 'user_new_form', 'add-existing-user' );

Changelog

VersionDescription
3.7.0Introduced.

User Contributed Notes

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