wp embed shortcode code example Example: wordpress embed shortcode in php <?php echo do_shortcode('[name_of_shortcode]'); ?>