wpseek.com
A WordPress-centric search engine for devs and theme authors



pre_get_col_charset › WordPress Filter Hooks

Since4.2.0
Deprecatedn/a
apply_filters( 'pre_get_col_charset', null, $table, $column )
Parameters: (3)
  • () charset The character set to use. Default null.
    Required: Yes
  • () table The name of the table being checked.
    Required: Yes
  • () column The name of the column being checked.
    Required: Yes
Defined at:
Codex:

Filters the column charset value before the DB is checked.

Passing a non-null value to the filter will short-circuit checking the DB for the charset, returning that value instead.




Source

$charset = apply_filters( 'pre_get_col_charset', null, $table, $column );