inc/integrations/SyncToPost.php
@@ -87,6 +87,9 @@ */ protected function handleTheSavePost(int $postID, WP_Post $post, bool $update, array $settings):void { if (!$this->isSetUp()) { return; } error_log('==== ['.$this->title.']::handleTheSavePost ===='); $this->queueOperation(self::$syncTo, [ 'posts' => [$postID], @@ -110,6 +113,9 @@ } public function handleDeletePost(int $postID):void { if (!$this->isSetUp()) { return; } if (!$this->canSync['delete']) { return; }