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?
$allowedposttags
. On line 718 of wp-includes/kses.php, attributes that aren't present in$allowedposttags
are skipped.