Filter hook 'pre_get_col_charset'
in WP Core File wp-includes/class-wpdb.php at line 3311
Description
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.
Occurrences
Filename |
Line Number |
wp-includes/class-wpdb.php |
3311 |
Parameters
Type |
Name |
Description |
string|null|false|WP_Error |
$charset |
The character set to use. Default null. |
string |
$table |
The name of the table being checked. |
string |
$column |
The name of the column being checked. |
PHP Doc
/**
* 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.
*
* @since 4.2.0
*
* @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.
*/