Uma área de pesquisa sobre o WordPress para devs e autores do tema



pre_get_col_charset ›

Desde4.2.0
Obsoleton/a
apply_filters( 'pre_get_col_charset', null, $table, $column )
Parâmetros: (3)
  • (string) $charset The character set to use. Default null.
    Required: Yes
  • (string) $table The name of the table being checked.
    Required: Yes
  • (string) $column The name of the column being checked.
    Required: Yes
Definido em:
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.





Fonte

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