Check if a new WordPress post is successfully published with jQuery
I have replace the answer I gave yesterday with this newly updated and tested version. I also added some code to test with that changes Publish to Update after 6 seconds. Please give it a shot. <input type=”submit” name=”save” id=”publish” class=”button button-primary button-large preventDefault” value=”Publish”> <script> var publishButton = document.getElementById(‘publish’); var checkPublishStatus = setInterval(function() { … Read more