Action hook 'user_new_form'

in WP Core File wp-admin/user-new.php at line 492

Description

Fires at the end of the new user form. 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).

Occurrences

Filename Line Number
wp-admin/user-new.php 492
wp-admin/user-new.php 650

Parameters

Type Name Description
string $type A contextual string specifying which type of new user form the hook follows.

PHP Doc

/**
	 * Fires at the end of the new user form.
	 *
	 * 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).
	 *
	 * @since 3.7.0
	 *
	 * @param string $type A contextual string specifying which type of new user form the hook follows.
	 */