Add query arguments

In the Survival WordPress plugin settings, administrators have the option to specify a URL for a Survival overview page. When a page is defined in the settings, the URL is utilized to create a reference to a specific survival.

Example URL


To create a link to a specific survival, the URL requires certain query variables.

Example query

SurvivalId = 1


add_query_arg( array(
'SurvivalId' => '1',
), '' );

Leads to:

See also WordPress help.