Skip to content

Instantly share code, notes, and snippets.

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 davechu/5d5db01c0dcdabe2e3fd to your computer and use it in GitHub Desktop.
Save davechu/5d5db01c0dcdabe2e3fd to your computer and use it in GitHub Desktop.
For Chris. genesis_entry_content could be filtered, but that's usually to put stuff before or after the content. So I'd suggest doing the WP function.
add_filter( 'the_content', 'dc_cleanse_that_sucker' );
function dc_cleanse_that_sucker ( $glop ) {
// do your stuff here
return $glop;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment