$post->post_title, ), $atts)); if(empty($content)) $content='Embed Cal.com'; // TODO: How to reuse embed-snippet export here? return ' '; } add_shortcode('cal', 'cal_shortcode');