public function action_index_sync_queue() { if (empty($this->sync_post_queue)) { return; } foreach ($this->sync_post_queue as $post_id => $value) { do_action('ep_sync_on_meta_update', $post_id); $this->sync_post($post_id, false); } }