Skip to content

Instantly share code, notes, and snippets.

@wpmark
Created July 6, 2017 16:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wpmark/9c11ff68d7ea3ff2faf4a686edad5989 to your computer and use it in GitHub Desktop.
Save wpmark/9c11ff68d7ea3ff2faf4a686edad5989 to your computer and use it in GitHub Desktop.
Escape Filtered Meta Field Output
<?php echo apply_filters( 'meta_content', wp_kses_post( $field ) ); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment