Answers for "php shortcode to string"

PHP
6

php to shortcode

echo do_shortcode('[name_of_shortcode]');
Posted by: Guest on June-17-2020
0

<?php echo do_shortcode(' '); ?> with variable

$childrens = do_shortcode( '[products ids="'. $string . '"]' );
Posted by: Guest on December-14-2020

Browse Popular Code Answers by Language