HEX
Server: Apache
System: Linux webd001.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: mciraet (192513)
PHP: 8.2.31
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/mciraet/www/wp-content/plugins/bulk-delete/include/Core/Users/DeleteUsersPage.php
<?php

namespace BulkWP\BulkDelete\Core\Users;

use BulkWP\BulkDelete\Core\Base\BaseDeletePage;

defined( 'ABSPATH' ) || exit; // Exit if accessed directly.

/**
 * Bulk Delete Users Page.
 *
 * Shows the list of modules that provides the ability to delete users.
 *
 * @since 5.5
 * @since 6.0.0 Renamed to DeleteUsersPage
 */
class DeleteUsersPage extends BaseDeletePage {
	/**
	 * Initialize and setup variables.
	 *
	 * @since 5.5
	 */
	protected function initialize() {
		$this->page_slug = 'bulk-delete-users';
		$this->item_type = 'users';

		$this->label = array(
			'page_title' => __( 'Bulk Delete Users', 'bulk-delete' ),
			'menu_title' => __( 'Bulk Delete Users', 'bulk-delete' ),
		);

		$this->messages = array(
			'warning_message' => __( 'WARNING: There is no undo! Once deleted, users are gone. Use with caution.', 'bulk-delete' ),
		);

		$this->show_link_in_plugin_list = 0;
	}

	/**
	 * Add Help tabs.
	 *
	 * @since 5.5
	 *
	 * @param array $help_tabs List of help tabs.
	 *
	 * @return array Modified list of help tabs.
	 */
	protected function add_help_tab( $help_tabs ) {
		$overview_tab = array(
			'title'    => __( 'Overview', 'bulk-delete' ),
			'id'       => 'overview_tab',
			'content'  => '<p>' . __( 'This screen contains different modules that allows you to delete users or schedule them for deletion.', 'bulk-delete' ) . '</p>',
			'callback' => false,
		);

		$help_tabs['overview_tab'] = $overview_tab;

		return $help_tabs;
	}
}