WC_Webhook_Data_Store_Interface
in
WooCommerce Webhook data store interface.
Table of Contents
- get_api_version_number() : int
- Get API version number.
- get_webhooks_ids() : array<string|int, int>
- Get all webhooks IDs.
Methods
get_api_version_number()
Get API version number.
public
get_api_version_number(string $api_version) : int
Parameters
- $api_version : string
-
REST API version.
Tags
Return values
int —get_webhooks_ids()
Get all webhooks IDs.
public
get_webhooks_ids([string $status = '' ]) : array<string|int, int>
Parameters
- $status : string = ''
-
Optional - status to filter results by. Must be a key in return value of @see wc_get_webhook_statuses(). @since 3.6.0.