WordPress at Your Fingertips
filter is not described

pre_get_table_charset filter-hook . WP 4.2.0

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.


add_filter( 'pre_get_table_charset', 'filter_function_name_7555', 10, 2 );
function filter_function_name_7555( $charset, $table ){
	// filter...

	return $charset;
The character set to use.
Default: null
The name of the table being checked.

Where the hook is called

wp-includes/wp-db.php 2760
$charset = apply_filters( 'pre_get_table_charset', null, $table );

Where in WP core the hook is used WordPress

Usage not found.