get_transient

Advertisement

Summery Summery

Retrieves the value of a transient.

Syntax Syntax

get_transient( string $transient )

Description Description

If the transient does not exist, does not have a value, or has expired, then the return value will be false.

Parameters Parameters

$transient

(string) (Required) Transient name. Expected to not be SQL-escaped.

Return Return

(mixed) Value of transient.

Source Source

File: wp-includes/option.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.