WC_API::add_query_vars( array $vars )

Add new query vars.


Description Description


Parameters Parameters

$vars

(Required) Query vars.


Top ↑

Return Return

(string[])


Top ↑

Source Source

File: includes/class-wc-api.php

	public function add_query_vars( $vars ) {
		$vars   = parent::add_query_vars( $vars );
		$vars[] = 'wc-api';
		return $vars;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.