In a WordPress project I am building, I needed a way to programmatically update the post status of a post on the edit screen, specifically in the Gutenberg editor. Before arriving at the solution below, I first struggled to figure this out. I was trying to call the updatePost method with a post object and […]

The post Programmatically Update the Status of a Post Using Gutenberg JS appeared first on I Like Kill Nerds.