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, wpmu_create_blog, maybe_convert_table_to_utf8mb4, _maybe_update_themes

Top Google Results

User discussions

wpseek mobile