public static function refresh_posts()
 {
     CrayonSettingsWP::remove_posts();
     CrayonSettingsWP::remove_legacy_posts();
     foreach (CrayonWP::get_posts() as $post) {
         self::refresh_post($post, TRUE, FALSE);
     }
     CrayonSettingsWP::save_posts();
     CrayonSettingsWP::save_legacy_posts();
 }