parse_site_query WordPress Action Hook

The parse_site_query hook is used to modify the query variables before the query is run. This hook is used when WordPress is querying the database for posts.

do_action_ref_array( 'parse_site_query', WP_Site_Query $query ) #

Fires after the site query vars have been parsed.


Parameters

$query

(WP_Site_Query)The WP_Site_Query instance (passed by reference).


Top ↑

Source

File: wp-includes/class-wp-site-query.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.