WordPress at a glance
filter is not described

pre_get_col_charset filter-hook . WP 4.2.0

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.


add_filter( 'pre_get_col_charset', 'filter_function_name_2625', 10, 3 );
function filter_function_name_2625( $charset, $table, $column ){
	// filter...

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


Since 4.2.0 Introduced.

Where the hook is called

wp-includes/wp-db.php 2748
$charset = apply_filters( 'pre_get_col_charset', null, $table, $column );

Where the hook is used (in WP core)

Usage not found!