# wp-optimize/4.7.0/templates/dashboard/dashboard.php

WP-Optimize – Cache, Compress images, Minify &amp; Clean database to boost page speed &amp; performance, version 4.7.0. 31 lines.

- Page: https://pluginprobe.com/plugins/wp-optimize/4.7.0/code/templates/dashboard/dashboard.php
- Raw: https://pluginprobe.com/plugins/wp-optimize/4.7.0/raw/templates/dashboard/dashboard.php
- Modified: 2026-09-21T13:29:32+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/wp-optimize/4.7.0/code/templates/dashboard/dashboard.php#L10-L20`.

```php
<?php
/**
 * Dashboard main layout template for WP-Optimize.
 *
 * All variables are passed via include_template() from WP_Optimize_Admin::output_dashboard().
 * See WP_Optimize_Dashboard::get_dashboard_data() for the full variable list.
 */

if (!defined('ABSPATH')) die('No direct access allowed');

$partials = __DIR__ . '/partials/';
?>
<div class="wpo-dash">
	<div class="wpo-dash-toolbar">
		<button type="button" class="wpo-refresh-btn" id="wpo-dashboard-refresh">
			<span class="wpo-dash-icon dashicons dashicons-update"></span>
			<?php esc_html_e('Refresh', 'wp-optimize'); ?>
		</button>
	</div>
	<div class="wpo-top-row">
		<?php require $partials . 'top-row.php'; ?>
	</div>
	<div class="wpo-modules-label">
		<?php esc_html_e('Your modules', 'wp-optimize'); ?>
	</div>
	<div class="wpo-mod-grid">
		<?php require $partials . 'mod-grid.php'; ?>
	</div>
	<?php require $partials . 'promo-bar.php'; ?>
</div>

```
