edd_set_discounts_cache( $hash,  $data )

Store found discounts with the hash.


Description Description

This is a non-persistent cache and uses a PHP global.


Parameters Parameters

$hash

(Required) string The hash of the arguments from edd_get_discounts.

$data

(Required) array The data to store for this hash.


Top ↑

Source Source

File: includes/discount-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.8.7 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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