Check if a table column exists.
Copy to Clipboard
Parameters
$table
Table name
$column
Column name
$can_echo_query
If true
the query will be echoed out (default false
)
$can_prefix
If true
, prefixes table names with the WordPress table prefix (default true
)
Return
boolean
true
if column exists
Example
Copy to Clipboard