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



posts_fields_request ›

Since2.5.0
已弃用n/a
apply_filters_ref_array( 'posts_fields_request', array( $fields, &$this )
参数: (2)
  • (string) $fields The SELECT clause of the query.
    Required: Yes
  • (WP_Query) $this The WP_Query instance (passed by reference).
    Required: Yes
定义在:
文档:

Filters the SELECT clause of the query.

For use by caching plugins.





源码

$fields = apply_filters_ref_array( 'posts_fields_request', array( $fields, &$this ) );