Set query variable.
get_queried_object
Retrieve the currently-queried object.
get_queried_object_id
Retrieve ID of the current queried object.
get_query_var
Retrieve variable in the WP_Query class.
Developer Resources, Tips, Tricks, Tutorials and Much more.
Set query variable.
Retrieve the currently-queried object.
Retrieve ID of the current queried object.
Retrieve variable in the WP_Query class.