wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



pre_get_table_charset › Les Filtres WordPress

Depuis4.2.0
Dépréciéen/a
› apply_filters( 'pre_get_table_charset', null, $table )
Paramètres: (2)
  • () charset The character set to use, WP_Error object if it couldn't be found. Default null.
    Requis: Oui
  • () table The name of the table being checked.
    Requis: Oui
Défini(e) dans:
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.




Source

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