Skip to content

Instantly share code, notes, and snippets.

@hweeks
Last active August 29, 2015 14:03
Show Gist options
  • Save hweeks/c1758cbbfab348234e0a to your computer and use it in GitHub Desktop.
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
$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