maybe_drop_column
maybe_drop_column ( $table_name, $column_name, $drop_ddl )
Parameters:- (string) table_name Database table name.
- (string) column_name Table column name.
- (string) drop_ddl SQL statement to drop column.
Returns:- (bool) True on success or if the column doesn't exist. False on failure.
Defined at: - Introduced in WordPress: 1.0.0
- Deprecated in WordPress: —
Description
Drops column from database table, if it exists.