WC_Webhook_Data_Store_Interface::get_webhooks_ids()
Get all webhooks IDs.
Method of the class: WC_Webhook_Data_Store_Interface{}
No Hooks.
Return
Int[]
.
Usage
$WC_Webhook_Data_Store_Interface = new WC_Webhook_Data_Store_Interface(); $WC_Webhook_Data_Store_Interface->get_webhooks_ids( $status );
- $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.
Default: ''
Changelog
Since 3.2.0 | Introduced. |
WC_Webhook_Data_Store_Interface::get_webhooks_ids() WC Webhook Data Store Interface::get webhooks ids code WC 8.7.0
public function get_webhooks_ids( $status = '' );