WP $wp )
Fires once all query variables for the current request have been parsed.
Current WordPress environment instance (passed by reference).
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.
View all references
do_action_ref_array( 'parse_request', array( &$this ) );
Example migrated from Codex:
Being an action hook, it does not expect a return value. — By Rolf Allard van Hagen —
Example: Search by post ID also in dashboard