Is there a way I can call a link so when clicked it publishes the post via the ID I provide? I have get_delete_post_link( $postID ) set fine, and would like to do the same to make a draft go to ...
I created custom post statuses: In Progress and Completed. So when I save my post/page, the database column status in table wp_post will either say in-progress or completed. That's already done. But ...
How to check if page id(SomeID) is actually published?
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!