Last active
August 29, 2015 14:03
-
-
Save hweeks/c1758cbbfab348234e0a to your computer and use it in GitHub Desktop.
Filtering ACF content to do shortcodes that aren't implemented properly by a plugin
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
$varparse = get_field('WHATEVER_FIELD_NAME'); | |
$var = apply_filters('the_content', $varparse); | |
echo $var; | |
//Normally done with a WYSISYG field |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment