Home › Forums › Support › Can I filter out in content? This topic has 3 replies, 2 voices, and was last updated 2 years, 6 months ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts August 31, 2022 at 3:54 am #2329214 Ben I have content that has in various places. In certain areas this is causing a problem (it’s complicated but is due to Arabic font issues). Is there a way I can stripe this ( ) out of single content (single post page)? Thanks August 31, 2022 at 4:18 am #2329238 DavidStaff Customer Support Hi there, WordPress has the the_content filter hook: https://developer.wordpress.org/reference/hooks/the_content/ You can try string replacing the   whilst in a single post with this PHP Snippet: add_filter( 'the_content', function( $content ) { if ( is_single() ) { $content = str_replace( " ","", $content ); } return $content; }, 999, 1 ); August 31, 2022 at 5:22 am #2329308 Ben nice one, many thanks, tweaked it a bit to swap for a normal space and include the semi-colon add_filter( 'the_content', function( $content ) { if ( is_single() ) { $content = str_replace( " "," ", $content ); } return $content; }, 999, 1 ); August 31, 2022 at 5:42 am #2329327 DavidStaff Customer Support Glad to be of help Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In