The WP_HTML_Tag_Processor class that will ship with WordPress 6.2 is very powerful.
It allows you to handle various cases with a single process without having to manually replace strings
The WP_HTML_Tag_Processor class that will ship with WordPress 6.2 is very powerful.
It allows you to handle various cases with a single process without having to manually replace strings