Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

transient wordpress

MINUTE_IN_SECONDS  = 60 (seconds)
HOUR_IN_SECONDS    = 60 * MINUTE_IN_SECONDS
DAY_IN_SECONDS     = 24 * HOUR_IN_SECONDS
WEEK_IN_SECONDS    = 7 * DAY_IN_SECONDS
MONTH_IN_SECONDS   = 30 * DAY_IN_SECONDS
YEAR_IN_SECONDS    = 365 * DAY_IN_SECONDS
Source by developer.wordpress.org #
 
PREVIOUS NEXT
Tagged: #transient #wordpress
ADD COMMENT
Topic
Name
1+5 =