WC_API::add_query_vars( array $vars )
Add new query vars.
Description Description
Parameters Parameters
- $vars
-
(Required) Query vars.
Return Return
(string[])
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; }
Changelog Changelog
Version | Description |
---|---|
2.0 | Introduced. |