table_exists()
public static function table_exists( $table_name, $bypass_cache=false )
Checks for the existence of a MySQL table.
Since:
2.22.9.30(Added static caching and $bypass_cache param.)
Source: common.php:7111
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$table_name | string | Table to check for. | |
$bypass_cache | bool | false | Whether to bypass the statically cached results of previous checks. |
Returns
bool