wordpress / latest / hooks / parse_request.html

do_action_ref_array( 'parse_request', WP $wp )

Fires once all query variables for the current request have been parsed.

Parameters

$wp WP
Current WordPress environment instance (passed by reference).

More Information

This action hook is executed at the end of WordPress’s built-in request parsing method in the main WP() class.

Attention! The parse_request hook affects only the main query and not queries made with wp_query, for example.

Source

File: wp-includes/class-wp.php. View all references

do_action_ref_array( 'parse_request', array( &$this ) );

Used By

Used By Description

Changelog

Version Description
2.1.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/parse_request