apply_filters( 'pre_get_col_charset', string|null $charset, string $table, string $column )

Filters the column charset value before the DB is checked.

Description Description

Passing a non-null value to the filter will short-circuit checking the DB for the charset, returning that value instead.

Parameters Parameters


(string|null) The character set to use. Default null.


(string) The name of the table being checked.


(string) The name of the column being checked.

Top ↑

Source Source

File: wp-includes/wp-db.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.