learndash_set_transient

This function has been deprecated. Use LDLMS_Transients::set() instead.

learndash_set_transient( string $transient_key = '',  string $transient_data = '',  int $transient_expire = MINUTE_IN_SECONDS )

Sets the transient data.


Description #


Parameters #

$transient_key

(string) (Optional) Transient key. Default empty

Default value: ''

$transient_data

(string) (Optional) Transient data. Default empty

Default value: ''

$transient_expire

(int) (Optional) Transient expiry time in seconds. Default 60.

Default value: MINUTE_IN_SECONDS


Return #

(boolean)


Source #

File: includes/deprecated/deprecated-functions.php


Changelog #

Changelog
Version Description
3.1.0 Introduced.