Last active
April 3, 2024 18:15
-
-
Save adamsilverstein/10783774 to your computer and use it in GitHub Desktop.
WordPress expanded allowed tags for wp_kses with iframe, forms, etc.
hi can you help me adding 'script' tag with 'src' attribute to allowedtag using function.php ?
Try this
// script
$my_allowed['script'] = array(
'src' => array(),
);
Thanks @adamsilverstein - great tool, much appreciated
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi
can you help me adding 'script' tag with 'src' attribute to allowedtag using function.php ?