wpseek.com
WordPress开发者和主题制作者的搜索引擎



pre_get_col_charset › WordPress过滤钩子

Since4.2.0
已弃用n/a
› apply_filters( 'pre_get_col_charset', null, $table, $column )
参数: (3)
  • () charset The character set to use. Default null.
    Required: Yes
  • () table The name of the table being checked.
    Required: Yes
  • () column The name of the column being checked.
    Required: Yes
定义在:
文档:

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.




源码

$charset = apply_filters( 'pre_get_col_charset', null, $table, $column );