6 years, 11 months ago
In bbpress I was able to display a code string for 24 hours with this snippet:
<?php if ( (current_time(‘timestamp’) – 24*60*60) < strtotime($topic->topic_start_time) ) : ?>
It does not work on BP/Bbpress. How should this be done here?
Where exactly are you trying to work this? Also, that’s just a IF statement; it may evaluate true or false but that line or itself won’t produce anything on the page.
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service