Changeset 37509 for trunk/src/wp-includes/query.php
- Timestamp:
- 05/22/2016 06:34:42 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/query.php
r37487 r37509 2235 2235 2236 2236 /** 2237 * Filter stopwords used when parsing search terms.2237 * Filters stopwords used when parsing search terms. 2238 2238 * 2239 2239 * @since 3.7.0 … … 2790 2790 if ( ! $q['suppress_filters'] ) { 2791 2791 /** 2792 * Filter the search SQL that is used in the WHERE clause of WP_Query.2792 * Filters the search SQL that is used in the WHERE clause of WP_Query. 2793 2793 * 2794 2794 * @since 3.0.0 … … 3014 3014 if ( ! $q['suppress_filters'] ) { 3015 3015 /** 3016 * Filter the ORDER BY used when ordering search results.3016 * Filters the ORDER BY used when ordering search results. 3017 3017 * 3018 3018 * @since 3.7.0 … … 3179 3179 if ( !$q['suppress_filters'] ) { 3180 3180 /** 3181 * Filter the WHERE clause of the query.3181 * Filters the WHERE clause of the query. 3182 3182 * 3183 3183 * @since 1.5.0 … … 3189 3189 3190 3190 /** 3191 * Filter the JOIN clause of the query.3191 * Filters the JOIN clause of the query. 3192 3192 * 3193 3193 * @since 1.5.0 … … 3229 3229 if ( !$q['suppress_filters'] ) { 3230 3230 /** 3231 * Filter the JOIN clause of the comments feed query before sending.3231 * Filters the JOIN clause of the comments feed query before sending. 3232 3232 * 3233 3233 * @since 2.2.0 … … 3239 3239 3240 3240 /** 3241 * Filter the WHERE clause of the comments feed query before sending.3241 * Filters the WHERE clause of the comments feed query before sending. 3242 3242 * 3243 3243 * @since 2.2.0 … … 3249 3249 3250 3250 /** 3251 * Filter the GROUP BY clause of the comments feed query before sending.3251 * Filters the GROUP BY clause of the comments feed query before sending. 3252 3252 * 3253 3253 * @since 2.2.0 … … 3259 3259 3260 3260 /** 3261 * Filter the ORDER BY clause of the comments feed query before sending.3261 * Filters the ORDER BY clause of the comments feed query before sending. 3262 3262 * 3263 3263 * @since 2.8.0 … … 3269 3269 3270 3270 /** 3271 * Filter the LIMIT clause of the comments feed query before sending.3271 * Filters the LIMIT clause of the comments feed query before sending. 3272 3272 * 3273 3273 * @since 2.8.0 … … 3307 3307 if ( !$q['suppress_filters'] ) { 3308 3308 /** 3309 * Filter the WHERE clause of the query.3309 * Filters the WHERE clause of the query. 3310 3310 * 3311 3311 * Specifically for manipulating paging queries. … … 3319 3319 3320 3320 /** 3321 * Filter the GROUP BY clause of the query.3321 * Filters the GROUP BY clause of the query. 3322 3322 * 3323 3323 * @since 2.0.0 … … 3329 3329 3330 3330 /** 3331 * Filter the JOIN clause of the query.3331 * Filters the JOIN clause of the query. 3332 3332 * 3333 3333 * Specifically for manipulating paging queries. … … 3341 3341 3342 3342 /** 3343 * Filter the ORDER BY clause of the query.3343 * Filters the ORDER BY clause of the query. 3344 3344 * 3345 3345 * @since 1.5.1 … … 3351 3351 3352 3352 /** 3353 * Filter the DISTINCT clause of the query.3353 * Filters the DISTINCT clause of the query. 3354 3354 * 3355 3355 * @since 2.1.0 … … 3361 3361 3362 3362 /** 3363 * Filter the LIMIT clause of the query.3363 * Filters the LIMIT clause of the query. 3364 3364 * 3365 3365 * @since 2.1.0 … … 3371 3371 3372 3372 /** 3373 * Filter the SELECT clause of the query.3373 * Filters the SELECT clause of the query. 3374 3374 * 3375 3375 * @since 2.1.0 … … 3381 3381 3382 3382 /** 3383 * Filter all query clauses at once, for convenience.3383 * Filters all query clauses at once, for convenience. 3384 3384 * 3385 3385 * Covers the WHERE, GROUP BY, JOIN, ORDER BY, DISTINCT, … … 3414 3414 3415 3415 /* 3416 * Filter again for the benefit of caching plugins.3416 * Filters again for the benefit of caching plugins. 3417 3417 * Regular plugins should use the hooks above. 3418 3418 */ 3419 3419 if ( !$q['suppress_filters'] ) { 3420 3420 /** 3421 * Filter the WHERE clause of the query.3421 * Filters the WHERE clause of the query. 3422 3422 * 3423 3423 * For use by caching plugins. … … 3431 3431 3432 3432 /** 3433 * Filter the GROUP BY clause of the query.3433 * Filters the GROUP BY clause of the query. 3434 3434 * 3435 3435 * For use by caching plugins. … … 3443 3443 3444 3444 /** 3445 * Filter the JOIN clause of the query.3445 * Filters the JOIN clause of the query. 3446 3446 * 3447 3447 * For use by caching plugins. … … 3455 3455 3456 3456 /** 3457 * Filter the ORDER BY clause of the query.3457 * Filters the ORDER BY clause of the query. 3458 3458 * 3459 3459 * For use by caching plugins. … … 3467 3467 3468 3468 /** 3469 * Filter the DISTINCT clause of the query.3469 * Filters the DISTINCT clause of the query. 3470 3470 * 3471 3471 * For use by caching plugins. … … 3479 3479 3480 3480 /** 3481 * Filter the SELECT clause of the query.3481 * Filters the SELECT clause of the query. 3482 3482 * 3483 3483 * For use by caching plugins. … … 3491 3491 3492 3492 /** 3493 * Filter the LIMIT clause of the query.3493 * Filters the LIMIT clause of the query. 3494 3494 * 3495 3495 * For use by caching plugins. … … 3503 3503 3504 3504 /** 3505 * Filter all query clauses at once, for convenience.3505 * Filters all query clauses at once, for convenience. 3506 3506 * 3507 3507 * For use by caching plugins. … … 3539 3539 if ( !$q['suppress_filters'] ) { 3540 3540 /** 3541 * Filter the completed SQL query before sending.3541 * Filters the completed SQL query before sending. 3542 3542 * 3543 3543 * @since 2.0.0 … … 3577 3577 3578 3578 /** 3579 * Filter whether to split the query.3579 * Filters whether to split the query. 3580 3580 * 3581 3581 * Splitting the query will cause it to fetch just the IDs of the found posts … … 3596 3596 3597 3597 /** 3598 * Filter the Post IDs SQL request before sending.3598 * Filters the Post IDs SQL request before sending. 3599 3599 * 3600 3600 * @since 3.4.0 … … 3625 3625 if ( ! $q['suppress_filters'] ) { 3626 3626 /** 3627 * Filter the raw post results array, prior to status checks.3627 * Filters the raw post results array, prior to status checks. 3628 3628 * 3629 3629 * @since 2.3.0 … … 3697 3697 if ( $this->is_preview && $this->posts && current_user_can( $edit_cap, $this->posts[0]->ID ) ) { 3698 3698 /** 3699 * Filter the single post for preview mode.3699 * Filters the single post for preview mode. 3700 3700 * 3701 3701 * @since 2.7.0 … … 3756 3756 if ( ! $q['suppress_filters'] ) { 3757 3757 /** 3758 * Filter the array of retrieved posts after they've been fetched and3758 * Filters the array of retrieved posts after they've been fetched and 3759 3759 * internally processed. 3760 3760 * … … 3812 3812 if ( ! empty( $limits ) ) { 3813 3813 /** 3814 * Filter the query to run for retrieving the found posts.3814 * Filters the query to run for retrieving the found posts. 3815 3815 * 3816 3816 * @since 2.1.0 … … 3825 3825 3826 3826 /** 3827 * Filter the number of found posts for the query.3827 * Filters the number of found posts for the query. 3828 3828 * 3829 3829 * @since 2.1.0 … … 4798 4798 4799 4799 /** 4800 * Filter the "pages" derived from splitting the post content.4800 * Filters the "pages" derived from splitting the post content. 4801 4801 * 4802 4802 * "Pages" are determined by splitting the post content based on the presence … … 4943 4943 4944 4944 /** 4945 * Filter the old slug redirect URL.4945 * Filters the old slug redirect URL. 4946 4946 * 4947 4947 * @since 4.4.0
Note: See TracChangeset
for help on using the changeset viewer.