WC_REST_Webhooks_V2_Controller::get_default_api_version()
Get the default REST API version.
Method of the class: WC_REST_Webhooks_V2_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. |
WC_REST_Webhooks_V2_Controller::get_default_api_version() WC REST Webhooks V2 Controller::get default api version code WC 7.7.0
protected function get_default_api_version() { return 'wp_api_v2'; }