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.
495 * and 'add-new-user' (single site and network admin).496 *497 * @since 3.7.0498 *499 * @param string $type A contextual string specifying which type of new user form the hook follows.500 */501 do_action( 'user_new_form', 'add-existing-user' );502 ?>503<?phpsubmit_button(__('Add Existing User'),'primary','adduser',true,array('id'=>'addusersub'));?>504</form>505<?php506}// End if is_multisite().507
History
Introduced in 3.7.0. Unchanged from 6.7.7 through 7.1.0.