This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

APP_Notices::set_transient( int $expiration )

Stores a notice using WP set_transient()


Package


Description Description

Generates a unique key for the transient name based on the user ID (registered users) or IP (visitors)


Parameters Parameters

$expiration

(int) (Required) (optional) Time until expiration in seconds, default 0


Top ↑

Return Return

(bool) False if value was not set and true if value was set.


Premium WordPress Apps

Top ↑

User Contributed Notes User Contributed Notes

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