maybe_create_table


maybe_create_table ( $table_name, $create_ddl )

Parameters:
  • (string) table_name Database table name.
  • (string) create_ddl SQL statement to create table.
Returns:
  • (bool) True on success or if the table already exists. False on failure.
Defined at:

Description

Creates a table in the database if it doesn't already exist.

Related Functions

_oembed_create_xml, wp_create_tag, _maybe_update_themes, maybe_convert_table_to_utf8mb4, wp_create_term

Top Google Results

User discussions

wpseek mobile