public static function do_shortcode($atts) { // Legacy if (Legacy::maybe_process_shortcode($atts)) { $posts = Legacy::get_posts($atts); $options = Legacy::get_options($atts); } else { $posts = self::get_posts($atts); $options = self::get_options($atts); } return wp_tiles()->get_tiles($posts, $options); }