do_action( 'user_new_form', string $type )
Fires at the end of the new user form.
Description 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 Parameters
- $type
-
(string) A contextual string specifying which type of new user form the hook follows.
Source Source
File: wp-admin/user-new.php
Changelog Changelog
Version | Description |
---|---|
3.7.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
Since 4.5 this does now apply to new users on Network site. The relevant hook for a network site is