How do I strip out all whitespace via a filter?
-
I want to strip out all the whitespace before php/wordpress outputs it as html. I figured it could probably be done using something like preg_replace on a filter or action hook, or something that allows you to process the content before it’s returned as html. Does that make any sense? Any help would be greatly appreciated.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How do I strip out all whitespace via a filter?’ is closed to new replies.