1. Home
  2. Docs
  3. Function Reference
  4. Functions
  5. get_fields_fn()

get_fields_fn()

Get field names of a table.

Copy to Clipboard

Parameters

$table_str

Target tableĀ (without table_prefix)

$echoQuery_bln

If true the query will be echoed out (default false)

$prefixMe_bln

If true, prefixes table names with the WordPress table prefix (default true)

Return

array

Return the field names

Example

Copy to Clipboard

The above example will return:

Copy to Clipboard

Location

This function can be found here: