wpseek.com
WordPress开发者和主题制作者的搜索引擎
split_the_query › WordPress过滤钩子
Since6.6.0
已弃用n/a
› apply_filters( 'split_the_query', $split_the_query, $this, $old_request, compact( $pieces )
| 参数: (4) |
|
| 定义在: |
|
| 文档: |
Filters whether to split the query.
Splitting the query will cause it to fetch just the IDs of the found posts (and then individually fetch each post by ID), rather than fetching every complete row at once. One massive result vs. many small results.Related Functions: wp_edit_attachments_query, wp_edit_posts_query, sanitize_title_for_query, wp_reset_query, site_url, switch_theme
Related Hooks: sites_pre_query, split_shared_term, posts_pre_query, rest_user_query, parse_site_query