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.2

apply_filters('pre_get_col_charset') is found 1 times:

  • /wp-includes/class-wpdb.php line 3312
    3308
    3309
    3310
    3311
    3312
    3313
    3314
    3315
    3316
    3317
    3318
    * @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 ) ) {