ampersand filter on content
-
Does anyone know how to turn off the ampersand filter on the description content? Or what hook I need to access to do it?
The function in wordpress for content doesn’t do it. It’s gumming up a shortcode I’m trying to use.
Thanks for any insight anyone has!
The following does NOT work:
add_filter( 'the_content', 'filter_the_amp_content',100 ); function filter_the_amp_content( $content ) { $content = str_replace("&","&",$content); return $content; }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘ampersand filter on content’ is closed to new replies.