Jake Vanderwerf
2026-08-28 a9654f00c8fbc9934289d761843ddd071025013f
inc/integrations/SyncToPost.php
@@ -1,6 +1,7 @@
<?php
namespace JVBase\integrations;
use JVBase\managers\queue\Queue;
use JVBase\meta\Meta;
use JVBase\registrar\Registrar;
use WP_Post;
@@ -21,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
   {
@@ -103,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
   {
@@ -127,7 +128,7 @@
         return;
      }
      JVB()->queue()->add(
      Queue::getInstance()->add(
         self::$deleteFrom,
         $userID,
         [