wc_get_webhook_rest_api_versions()WC 3.5.1

Get webhoook REST API versions.

No Hooks.

Return

Array.

Usage

wc_get_webhook_rest_api_versions();

Changelog

Since 3.5.1 Introduced.

wc_get_webhook_rest_api_versions() code WC 8.6.1

function wc_get_webhook_rest_api_versions() {
	return array(
		'wp_api_v1',
		'wp_api_v2',
		'wp_api_v3',
	);
}