I have written a shortcode wherein I don't want
EM_Events::output to display "No Events" if there aren't any. Could you help me with the syntax? Maybe something like:
if ( [there are no events] ) return false; else return EM_Events::output( $atts );
Or maybe I need to filter
I only want this when using the shortcode, not site-wide.
Please help with the proper syntax! (As a point of reference, my shortcode is roughly based on your