WordPress at a glance
function is not described

wc_get_webhook_rest_api_versions() WC 3.5.1

Get webhoook REST API versions.

No Hooks.

Return

Array. Nothing.

Usage

wc_get_webhook_rest_api_versions();

Changelog

Since 3.5.1 Introduced.

Code of wc_get_webhook_rest_api_versions() WC 5.3.0

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