WordPress at Your Fingertips
function is not described

WC_Webhook_Data_Store::get_transient_key() private WC 3.6.0

Get the transient key used to cache a set of webhook IDs, optionally filtered by status.

{} It's a method of the class: WC_Webhook_Data_Store{}

No Hooks.

Return

String.

Usage

// private - for code of main (parent) class only
$result = $this->get_transient_key( $status );
$status(string)
Optional - status of cache key.
Default: ''

Changelog

Since 3.6.0 Introduced.

Code of WC_Webhook_Data_Store::get_transient_key() WC 5.6.0

private function get_transient_key( $status = '' ) {
	return empty( $status ) ? 'woocommerce_webhook_ids' : sprintf( 'woocommerce_webhook_ids_status_%s', $status );
}