What is the right way in a plugin to determine if a page is scheduled to post in the future versus it being already published? I’m looking to make some tweaks to the NextGEN Gallery plugin to not display galleries in an album that are associated with a page that is scheduled for future publication. Unfortunately, NextGEN doesn’t directly support scheduling galleries like Envira does, so I’m basically looking to implement that myself by leveraging the page integrations it supports. Currently, if the page is scheduled for the future, the gallery thumbnail will be visible in the album view, but trying to open it will throw a 404 until the scheduled publication date/time.
[ad_2]