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.
null, $table, $column
Sortie :
@param string|null|false|WP_Error $charset The character set to use. Default null. @param string $table The name of the table being checked. @param string $column The name of the column being checked.
// Modifier la valeur avec le filtre 'pre_get_col_charset'
add_filter('pre_get_col_charset', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(null) {
// Modifier la valeur
return null;
}
Chargement des actualités...