Wordpress 钩子:post_limits
文章目录
过滤查询的LIMIT子句。
原型
apply_filters_ref_array( 'post_limits', string $limits, WP_Query $this )
参数
$limits
(string)
查询的LIMIT子句。
$this
(WP_Query)
WP_Query实例(通过引用传递)。
源文件
路径:wp-includes/class-wp-query.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/post_limits/
文章作者 iBllex
上次更新 2019-02-16