LDLMS_Transients::set( string $transient_key = '',  mixed $transient_data = '',  integer $transient_expire = MINUTE_IN_SECONDS )

Utility function to interface with WP set_transient function. This function allow for filtering if to actually write the transient.

Description #

Parameters #


(string) (Optional) The transient key.

Default value: ''


(mixed) (Optional) Data to store in transient.

Default value: ''


(integer) (Optional) Expiration time for transient.

Default value: MINUTE_IN_SECONDS

Source #

File: includes/class-ldlms-transients.php

Changelog #

Version Description
3.1 Introduced.