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?
I’m pretty sure you have to explicitly name all allowed attributes – just use:
If you can think of others let me know!