wphooks.info - delete_user_form

delete_user_form

(trunk - 5.0-alpha-42719)

The hook occurs in the following 2 files

wp-admin/users.php:
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
	endif;
	/**
	 * Fires at the end of the delete users form prior to the confirm button.
	 *
	 * @since 4.0.0
	 * @since 4.5.0 The `$userids` parameter was added.
	 *
	 * @param WP_User $current_user WP_User object for the current user.
	 * @param array   $userids      Array of IDs for users being deleted.
	 */
	do_action( 'delete_user_form', $current_user, $userids );
	?>
	<input type="hidden" name="action" value="dodelete" />
	<?php submit_button( __( 'Confirm Deletion' ), 'primary' ); ?>
	<?php else : ?>
	<p><?php _e( 'There are no valid users selected for deletion.' ); ?></p>
	<?php endif; ?>
	</div>
	</form>
	<?php
wp-admin/includes/ms.php:
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
			<?php } ?>
			</tr>
		<?php
		}
	}

	?>
	</table>
	<?php
	/** This action is documented in wp-admin/users.php */
	do_action( 'delete_user_form', $current_user, $allusers );

	if ( 1 == count( $users ) ) :
	?>
		<p><?php _e( 'Once you hit &#8220;Confirm Deletion&#8221;, the user will be permanently removed.' ); ?></p>
	<?php else : ?>
		<p><?php _e( 'Once you hit &#8220;Confirm Deletion&#8221;, these users will be permanently removed.' ); ?></p>
	<?php
	endif;