Allow all attributes in $allowedposttags tags
I would like to use $allowedposttags
to allow extra HTML tags during entry submission. Can I allow all attributes for a specific tag using $allowedposttags
?
For example, the code below will allow iframe tags and the src, height, and width attributes in the iframe tags:
$allowedposttags['iframe'] = array(
'src' = array(),
'height' = array(),
'width' = array()
);
How can I allow all attributes in this example, not just src, height, and width?
Topic allowedtags iframe escaping Wordpress
Category Web