WordPress at Your Fingertips
function is not described

WC_Cache_Helper::queue_delete_transient() public WC 3.6.0

Add a transient to delete on shutdown.

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

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Cache_Helper::queue_delete_transient( $keys );
$keys(string|array) (required)
Transient key or keys.

Changelog

Since 3.6.0 Introduced.

Code of WC_Cache_Helper::queue_delete_transient() WC 5.9.0

public static function queue_delete_transient( $keys ) {
	self::$delete_transients = array_unique( array_merge( is_array( $keys ) ? $keys : array( $keys ), self::$delete_transients ) );
}