This is my first time asking a question here. I'm kinda stuck on how to do echo do_shortcode(); inside a shortcode.
I tried googling for an answer but to no avail.
I'd like to know if it is possible to echo a shortcode inside a shortcode. If it is, any pointer is much appreciated.
Thank you.
function cpa_haven_banner() {
return '
<ul class="list-group list-group-horizontal entry-meta">
<li class="list-group-item list-group-action-item">
<strong>Female</strong> <?php echo do_shortcode("[get_sheet_value location='LOAN!B7']"); ?>
</li>
</ul>
';
}
add_shortcode('cpa-haven', 'cpa_haven_banner');