help intercepting save_post through plugin
I am not entirely sure what you are trying to do. But you are definitely a little off with add_action(). Should be something like this: function myFunctionThatSendsMyWebsite($post_ID, $post) { // $post_ID and $post will have post’s ID and full post object } add_action(‘save_post’, ‘myFunctionThatSendsMyWebsite’, 10, 2);