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 Description
Parameters Parameters
- $transient_key
-
(Optional) The transient key.
Default value: ''
- $transient_data
-
(Optional) Data to store in transient.
Default value: ''
- $transient_expire
-
(Optional) Expiration time for transient.
Default value: MINUTE_IN_SECONDS
Source Source
File: includes/class-ldlms-transients.php
Changelog Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |