Created
February 6, 2016 22:49
-
-
Save amielucha/19ab0984bb103ab07d81 to your computer and use it in GitHub Desktop.
WordPress Types plugin: retrieve fields in theme files and suppress filters (Jetpack compatibility fix)
This file contains hidden or 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 | |
| // Retrieve a WYSIWYG Types plugin field | |
| // and suppress third-party filters | |
| // (useful when working with Jetpack Sharedaddy) | |
| $field = types_render_field("fieldname", array("output"=>"html", "suppress_filters"=>"true")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment