Problem with shortcode inside a shortcode
Here’s a trick that wp-includes/media.php uses for the embed shortcode: first remove all shortcodes, then add a specific shortcode back to the system, filter your content for it, then re-register the original shortcodes. Try this: function etdc_tab_group( $atts, $content ){ global $shortcode_tags; $GLOBALS[‘tab_count’] = 0; // save the shortcode registrations $orig_shortcode_tags = $shortcode_tags; // remove … Read more