OK, so the goal is to hide the event description with Ultimate Member shortcode [um_loggedin]
.
I tried doing echo do_shortcode but it’s not working…
This is the code I used within wp-content/themes/hello-elementor/tribe-events/single-event.php:
<?php echo do_shortcode('[um_loggedout]'."Sorry, but only loggedin users are allowed to access the details".'[/um_loggedout]');?>
<?php echo do_shortcode('[um_loggedin]'.the_content().'[/um_loggedin]');?>