-1
votes
3answers
158 views

How to check if page has status published

How to check if page id(SomeID) is actually published?
1
vote
1answer
406 views

How to change post status from frontend?

I'd like to add the posts in my loop the ability to toggle them between different post statuses (e.g. publish/draft). What's the best way to do it? Thanks in advance!