Post curl function save twice using plugin hook function wordpress
That is normal behaviour. See this question on WordPress Stack Exchange: Plugin Development: WordPress processes twice on post update. How to skip process on the first? answered by @Hameedullah Khan. WordPress call functions hooked to save_post twice because: first time it saves the post revision. second time it saves the actual post. As Hameedulah suggests, … Read more