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



post_limits_request ›

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

Filters the LIMIT clause of the query.

For use by caching plugins.





源码

$limits = apply_filters_ref_array( 'post_limits_request', array( $limits, &$this ) );