pre_get_col_charset

pre_get_col_charset

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('pre_get_col_charset') is found 1 times:

  • /wp-includes/class-wpdb.php line 3312
    		 * @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.
    		 */
    		$charset = apply_filters( 'pre_get_col_charset', null, $table, $column );
    		if ( null !== $charset ) {
    			return $charset;
    		}
    
    		// Skip this entirely if this isn't a MySQL database.
    		if ( empty( $this->is_mysql ) ) {