How to check if page id(SomeID) is actually published?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
|
You can use |
|||||||
|
|
You must retrieve the page via the function get_page. Look for the |
|||
|
|
|
You can try this:
|
|||
|
|