Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
WC_Webhook_Data_Store::get_transient_key( string $status = '' )
Get the transient key used to cache a set of webhook IDs, optionally filtered by status.
Description Description
Parameters Parameters
- $status
-
(Optional) - status of cache key.
Default value: ''
Return Return
(string)
Source Source
File: includes/data-stores/class-wc-webhook-data-store.php
private function get_transient_key( $status = '' ) { return empty( $status ) ? 'woocommerce_webhook_ids' : sprintf( 'woocommerce_webhook_ids_status_%s', $status ); }
Changelog Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |