WordPress at a glance
function is not described

WC_REST_Webhooks_Controller::get_default_api_version() protected WC 3.0.0

Get the default REST API version.

{} It's a method of the class: WC_REST_Webhooks_Controller{}

No Hooks.

Return

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_default_api_version();

Changelog

Since 3.0.0 Introduced.

Code of WC_REST_Webhooks_Controller::get_default_api_version() WC 5.0.0

<?php
protected function get_default_api_version() {
	return 'wp_api_v3';
}