WC_REST_Webhooks_Controller{}
REST API Webhooks controller class.
Хуков нет.
Использование
$WC_REST_Webhooks_Controller = new WC_REST_Webhooks_Controller(); // use class methods
Методы
- protected get_default_api_version()
Заметки
- Пакет: WooCommerce\RestApi
Код WC_REST_Webhooks_Controller{} WC REST Webhooks Controller{} WC 7.7.0
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'; } }