WordPress at Your Fingertips
function is not described

WC_Auth::add_query_vars() public WC 2.4.0

Add query vars.

{} It's a method of the class: WC_Auth{}

No Hooks.

Return

String[].

Usage

$WC_Auth = new WC_Auth();
$WC_Auth->add_query_vars( $vars );
$vars(array) (required)
Query variables.

Changelog

Since 2.4.0 Introduced.

Code of WC_Auth::add_query_vars() WC 5.8.0

public function add_query_vars( $vars ) {
	$vars[] = 'wc-auth-version';
	$vars[] = 'wc-auth-route';
	return $vars;
}