function general_repeater_shortcode($atts, $content) { if (isset($atts['meta']) && !empty($atts['meta']) || isset($atts['metabox']) && !empty($atts['metabox'])) { return self::wck_repeater_shortcode($atts, $content); } else { if (class_exists('CCS_To_ACF')) { return CCS_To_ACF::loop_through_acf_field($atts, $content); } } }