WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about pre_get_table_charset

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wpdb.php apply_filters 2920 /**
* 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.
*
* @since 4.2.0
*
* @param string|WP_Error|null $charset The character set to use, WP_Error object
* if it couldn't be found. Default null.
* @param string $table The name of the table being checked.
*/

Hook Parameters

Parameter Type Name Description
string|WP_Error|null $charset The character set to use, WP_Error object
string $table The name of the table being checked.