# wpforo/3.1.6/admin/pages/tools.php

wpForo Forum, version 3.1.6. 41 lines.

- Page: https://pluginprobe.com/plugins/wpforo/3.1.6/code/admin/pages/tools.php
- Raw: https://pluginprobe.com/plugins/wpforo/3.1.6/raw/admin/pages/tools.php
- Modified: 2026-09-18T16:11:00+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wpforo/3.1.6/code/admin/pages/tools.php#L10-L20`.

```php
﻿<?php if( ! defined( 'ABSPATH' ) || ! WPF()->usergroup->can( 'mt' ) ) die ?>

<div class="wrap"><h2 style="padding:0 0 30px 0; line-height: 20px;"><?php _e( 'Forum Tools', 'wpforo' ) ?></h2></div>
<?php WPF()->notice->show() ?>
<?php do_action( 'wpforo_tools_page_top' ) ?>
<div id="wpf-admin-wrap" class="wrap">
    <div id="icon-users" class="icon32"><br></div>
	<?php
	$tabs = [
		'debug'       => __( 'Debug', 'wpforo' ),
		'tables'      => __( 'Database Tables', 'wpforo' ),
		'misc'        => __( 'Admin Note', 'wpforo' ),
        'email_queue' => __( 'Email Queue', 'wpforo' ),
		'cron_jobs'   => __( 'Cron Jobs', 'wpforo' ),
	];
	wpforo_admin_tools_tabs( $tabs, ( isset( $_GET['tab'] ) ? $_GET['tab'] : 'debug' ) );
	?>
    <div class="wpf-info-bar" style="padding:1%">
		<?php
		$includefile = WPFORO_DIR . '/admin/tools-tabs/debug.php';
		if( ! empty( $_GET['tab'] ) ) {
			switch( $_GET['tab'] ) {
				case 'misc':
					$includefile = WPFORO_DIR . '/admin/tools-tabs/misc.php';
				break;
				case 'tables':
					$includefile = WPFORO_DIR . '/admin/tools-tabs/tables.php';
				break;
				case 'email_queue':
					$includefile = WPFORO_DIR . '/admin/tools-tabs/email-queue.php';
				break;
				case 'cron_jobs':
					$includefile = WPFORO_DIR . '/admin/tools-tabs/cron-jobs.php';
				break;
			}
		}
		include_once( $includefile );
		?>
    </div>
</div>

```
