WC_REST_Webhooks_Controller{}└─ WC_REST_Webhooks_V2_Controller
REST API Webhooks controller class.
No Hooks.
Usage
$WC_REST_Webhooks_Controller = new WC_REST_Webhooks_Controller(); // use class methods
Methods
- protected get_default_api_version()
Notes
- Package: WooCommerce\RestApi
WC_REST_Webhooks_Controller{} WC REST Webhooks Controller{} code WC 10.6.2
class WC_REST_Webhooks_Controller extends WC_REST_Webhooks_V2_Controller {
/**
* Endpoint namespace.
*
* @var string
*/
protected $namespace = 'wc/v3';
/**
* Get the default REST API version.
*
* @since 3.0.0
* @return string
*/
protected function get_default_api_version() {
return 'wp_api_v3';
}
}