wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



pre_get_table_charset › WordPress Filter Hooks

Seit4.2.0
Veraltetn/v
apply_filters( 'pre_get_table_charset', null, $table )
Parameter: (2)
  • () charset The character set to use, WP_Error object if it couldn't be found. Default null.
    Erforderlich: Ja
  • () table The name of the table being checked.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the table charset value before the DB is checked.

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




Quellcode

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