Automattic\WooCommerce\StoreApi\Routes
RouteInterface{}
RouteInterface.
No Hooks.
Usage
$RouteInterface = new RouteInterface(); // use class methods
Methods
- public get_args()
- public get_path()
RouteInterface{} RouteInterface{} code WC 10.5.0
interface RouteInterface {
/**
* Get the path of this REST route.
*
* @return string
*/
public function get_path();
/**
* Get arguments for this REST route.
*
* @return array An array of endpoints.
*/
public function get_args();
}