show_network_site_users_add_new_form

show_network_site_users_add_new_form

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('show_network_site_users_add_new_form') is found 1 times:

  • /wp-admin/network/site-users.php line 348
     * @since 3.1.0
     *
     * @param bool $bool Whether to show the Add New User form. Default true.
     */
    if ( current_user_can( 'create_users' ) && apply_filters( 'show_network_site_users_add_new_form', true ) ) :
    	?>
    <h2 id="add-new-user"><?php _e( 'Add New User' ); ?></h2>
    <form action="<?php echo esc_url( network_admin_url( 'site-users.php?action=newuser' ) ); ?>" id="newuser" method="post">
    	<input type="hidden" name="id" value="<?php echo esc_attr( $id ); ?>" />
    	<table class="form-table" role="presentation">
    		<tr>