WC_Webhook_Data_Store_Interface::get_webhooks_ids()
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 Webhook Data Store Interface::get webhooks ids WC 9.5.1
public function get_webhooks_ids( $status = '' );