Enqueue Scripts / Styles when shortcode is present

Method 1: Include directly in shortcode

Method 2: Include directly in shortcode

Method 3: Using get_shortcode_regex();

Method 4: Using has_shortcode();

Leave a Reply

Your email address will not be published. Required fields are marked *