maybe_drop_column


maybe_drop_column ( $table_name, $column_name, $drop_ddl )

Parameters:
  • (string) $table_name Table name
  • (string) $column_name Column name
  • (string) $drop_ddl SQL statement to drop column.
Returns:
  • (bool) False on failure, true on success or doesn't exist.
Defined at:

Description

Drop column from database table, if it exists.

Related Functions

maybe_add_column, _maybe_update_plugins, get_hidden_columns, _maybe_update_core, make_db_current

Top Google Results

User discussions

wpseek mobile