# wp-optimize/4.7.0/includes/tables/interface-wp-optimize-table-interface.php

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

- Page: https://pluginprobe.com/plugins/wp-optimize/4.7.0/code/includes/tables/interface-wp-optimize-table-interface.php
- Raw: https://pluginprobe.com/plugins/wp-optimize/4.7.0/raw/includes/tables/interface-wp-optimize-table-interface.php
- Modified: 2026-03-25T10:42:14+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/includes/tables/interface-wp-optimize-table-interface.php#L10-L20`.

```php
<?php
if (!defined('ABSPATH')) die('No direct access allowed');

if (!interface_exists('WP_Optimize_Table_Interface')) :

interface WP_Optimize_Table_Interface {

	/**
	 * Return the table name for this object
	 *
	 * @return string
	 */
	public function get_table_name(): string;

	/**
	 * Return an array with `dbDelta()` field strings (and keys)
	 * [
	 * 	fields => [name => SQL],
	 *  keys   => [name => SQL]
	 * ]
	 *
	 * @return array
	 */
	public function describe(): array;

	/**
	 * Returns singleton instance
	 *
	 * @return WP_Optimize_Table_Interface
	 */
	public static function get_instance();
}

endif;

```
