Un motore di ricerca WordPress per sviluppatori e autori di temi



pre_get_table_charset ›

Da4.2.0
Deprecaton/a
apply_filters( 'pre_get_table_charset', null, $table )
Parametri: (2)
  • (string) $charset The character set to use. Default null.
    Richiesto:
  • (string) $table The name of the table being checked.
    Richiesto:
Definito a:
Codex:

Filters the table charset value before the DB is checked.

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





Sorgenti

$charset = apply_filters( 'pre_get_table_charset', null, $table );