WC_Webhook_Data_Store_Interface::get_webhooks_ids()publicWC 3.2.0

Get all webhooks IDs.

Метод класса: WC_Webhook_Data_Store_Interface{}

Хуков нет.

Возвращает

int[].

Использование

$WC_Webhook_Data_Store_Interface = new WC_Webhook_Data_Store_Interface();
$WC_Webhook_Data_Store_Interface->get_webhooks_ids( $status );
$status(строка)
Optional - status to filter results by. Must be a key in return value of @see wc_get_webhook_statuses(). @since 3.6.0.
По умолчанию: ''

Список изменений

С версии 3.2.0 Введена.

Код WC_Webhook_Data_Store_Interface::get_webhooks_ids() WC 8.7.0

public function get_webhooks_ids( $status = '' );