WC_Webhook_Data_Store_Interface::get_api_version_number()publicWC 3.2.0

Get API version number.

Method of the class: WC_Webhook_Data_Store_Interface{}

No Hooks.

Return

Int.

Usage

$WC_Webhook_Data_Store_Interface = new WC_Webhook_Data_Store_Interface();
$WC_Webhook_Data_Store_Interface->get_api_version_number( $api_version );
$api_version(string) (required)
REST API version.

Changelog

Since 3.2.0 Introduced.

WC_Webhook_Data_Store_Interface::get_api_version_number() code WC 8.9.0

public function get_api_version_number( $api_version );