EP_Sync_Manager::sync_post PHP Method

sync_post() public method

Sync a post for a specific site or globally.
Since: 0.1.0
public sync_post ( integer $post_id, boolean $blocking = true ) : boolean | array
$post_id integer
$blocking boolean
return boolean | array
    public function sync_post($post_id, $blocking = true)
    {
        $post_args = ep_prepare_post($post_id);
        if (apply_filters('ep_post_sync_kill', false, $post_args, $post_id)) {
            return;
        }
        $response = ep_index_post($post_args, $blocking);
        return $response;
    }