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: ''


Top ↑

Return Return

(string)


Top ↑

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 );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.