maybe_drop_column Wordpress function


Description:

Drop column from database table, if it exists.


Syntax:


Arguments:

(string) $table_name Table name
(string) $column_name Column name
(string) $drop_ddl SQL statement to drop column.


Return Type:

(bool) False on failure, true on success or doesn't exist.


Define At:

wp-admin/install-helper.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/maybe_drop_column


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×