WordPress, safely outputting SVGs without fighting PHPCS
~9 Mins Read
~9 Mins Read
Safely render SVGs in WordPress by creating a custom wp_kses based escaping function that passes PHPCS, keeps security intact & preserves code.