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 / tables / interface-wp-optimize-table-interface.php

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

35 lines 619 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (!defined('ABSPATH')) die('No direct access allowed');
3
4 if (!interface_exists('WP_Optimize_Table_Interface')) :
5
6 interface WP_Optimize_Table_Interface {
7
8 /**
9 * Return the table name for this object
10 *
11 * @return string
12 */
13 public function get_table_name(): string;
14
15 /**
16 * Return an array with `dbDelta()` field strings (and keys)
17 * [
18 * fields => [name => SQL],
19 * keys => [name => SQL]
20 * ]
21 *
22 * @return array
23 */
24 public function describe(): array;
25
26 /**
27 * Returns singleton instance
28 *
29 * @return WP_Optimize_Table_Interface
30 */
31 public static function get_instance();
32 }
33
34 endif;
35