Trigger a Link once a new post is Published
1- Just use jquery on form submit. jQuery(document).ready(function ($) { //default wordpress new post form id = #post $(“#post”).submit(function () { $.ajax({ url: “http://YOUR URL”, success: function (response) { console.log(“CALL OK!”); }, error: function () { console.log(“CALL FAILED!”); } }); }); }); 2- Put this code inside your theme: make new file, put the code … Read more