page_slug = 'bulk-delete-system-info'; $this->capability = 'manage_options'; $this->actions[] = $this->action; $this->label = array( 'page_title' => __( 'Bulk Delete - System Info', 'bulk-delete' ), 'menu_title' => __( 'System Info', 'bulk-delete' ), ); } public function register() { parent::register(); add_action( 'bd_' . $this->action, array( $this, 'download_system_info' ) ); $this->system_info = new BulkDeleteSystemInfo( 'bulk-delete' ); $this->system_info->load(); } protected function render_header() { ?>
enabled. This puts additional load on the memory and will restrict the number of items that can be deleted.', 'bulk-delete' ), 'https://codex.wordpress.org/Editing_wp-config.php#Save_queries_for_analysis' ); ?>
enabled. Scheduled deletion will not work if WP Cron is disabled. Please disable it to enable scheduled deletion.', 'bulk-delete' ), 'https://codex.wordpress.org/Editing_wp-config.php#Disable_Cron_and_Cron_Timeout' ); ?>
system_info->download_as_file(); } }