/** * Sync a post for a specific site or globally. * * @param int $post_id * @since 0.1.0 * @return bool|array */ public function sync_post($post_id) { $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); return $response; }
/** * Sync a post for a specific site or globally. * * @param int $post_id * @since 0.1.0 * @return bool|array */ public function sync_post($post_id) { $post_args = apply_filters('ep_post_sync_args', ep_prepare_post($post_id), $post_id); $response = ep_index_post($post_args); return $response; }