Last active
October 24, 2017 22:58
-
-
Save yuriitaran/bfa6e0fd627f0140bb09f07cde351771 to your computer and use it in GitHub Desktop.
WP shortcode with variable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php echo do_shortcode('['.get_field('custom_field_name').']'); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment