inc/integrations/SyncToPost.php
@@ -22,7 +22,7 @@ } public function removeSavePost():void { remove_action('save_post', [$this, 'handleSavePost'], 20, 3); remove_action('save_post', [$this, 'handleSavePost'], 20); } public function handleSavePost(int $postID, WP_Post $post, bool $update):void { @@ -104,7 +104,7 @@ } public function removeDeletePost():void { remove_action('before_delete_post', [$this, 'handleSavePost'], 20, 3); remove_action('before_delete_post', [$this, 'handleSavePost'], 20); } public function handleDeletePost(int $postID):void {