Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 6 years ago.
Improve this questionWhat's the best way to add to time()
?
For example: time() + 5
will return 5
, not the current unix timestamp with 5 added to it. Any ideas? Thanks
Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 6 years ago.
Improve this questionWhat's the best way to add to time()
?
For example: time() + 5
will return 5
, not the current unix timestamp with 5 added to it. Any ideas? Thanks
Oh you have to wrap in quotes.
(time() + 5)
Works. Sigh