EP_Sync_Manager::action_index_sync_queue PHP Method

action_index_sync_queue() public method

Sync queued posts on shutdown. We do this in case a post is updated multiple times.
Since: 2.0
    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);
        }
    }