PluginProbe
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance / 4.7.0
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance v4.7.0
4.7.0 4.6.1 4.6.0 4.5.5 4.5.4 4.5.3 4.5.2 3.2.20 3.2.21 3.2.22 3.2.3 3.2.5 3.2.6 3.2.7 3.2.9 3.3.0 3.3.1 3.3.2 3.4.0 3.4.1 3.4.2 3.5.0 3.6.0 3.7.0 3.7.1 All 111 releases
wp-optimize / includes / dashboard / interface-wp-optimize-dashboard-interface.php

interface-wp-optimize-dashboard-interface.php in WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance 4.7.0, at includes/dashboard/interface-wp-optimize-dashboard-interface.php

24 lines 673 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if (!defined('ABSPATH')) die('Access denied.');
4
5 if (!interface_exists('WP_Optimize_Dashboard_Interface')) :
6
7 /**
8 * Contract for all dashboard module data classes.
9 *
10 * Each implementation collects the data needed to render one module card.
11 * The returned array must include it at minimum: bool $active Whether the module is enabled/running & string $label Human-readable module name (translated).
12 */
13 interface WP_Optimize_Dashboard_Interface {
14
15 /**
16 * Collects and returns the module's data payload.
17 *
18 * @return WpoDashboardCacheData|WpoDashboardImagesData|WpoDashboardMinifyData|WpoDashboardDatabaseData
19 */
20 public function collect(): array;
21 }
22
23 endif;
24