Parse the request and look for query vars – endpoints may not be supported.
Get any errors from querystring.
Are we currently on the front page?
Init query vars by loading options.
Is the front page a page we define?
Get page title for an endpoint.
Hook into pre_get_posts to do the main query.
Contains the query functions for UserRegistration which alter the front-end post queries and loops
Remove the query.
Endpoint mask describing the places the endpoint should be added.