maybe_add_column Wordpress function


Description:

Add column to database table, if column doesn't already exist in table.


Syntax:


Arguments:

(string) $table_name Database table name
(string) $column_name Table column name
(string) $create_ddl SQL to add column to table.


Return Type:

(bool) False on failure. True, if already exists or was successful.


Define At:

wp-admin/install-helper.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/maybe_add_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 ×