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$allowedposttagsare skipped. – weberwithoneb Nov 12 '12 at 19:20