posts_fields

posts_fields钩子是Wordpress钩子,过滤器::过滤查询的SELECT子句。

apply_filters_ref_array( ‘posts_fields’, string $fields, WP_Query $this )

参数(Parameters)

参数类型说明
$fields(string)查询的SELECT子句。
$this(WP_Query)WP_查询实例(通过引用传递)。

源码(Source)

//暂无
更新版本源码位置使用被使用
2.1.0wp-includes/class-wp-query.php:275310
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索