I use the newest version of your plugin "Accordions". Every time I want to save a new item with an iframe within, it doesn't save it. It is just blank after saving. Please help me!
Welcome to our forum.
Now i understand the issue, sorry about that, recent security update was force by wordpress.org review team to sanitize all input, that's why we used "wp_kses_post" function to filter HTML input, that's causing the issue.
you need to use following code to allow iframe under content, please copy and paste following code under your theme functions.php file
function custom_wpkses_post_tags( $tags, $context ) {
$tags['iframe'] = array(
'src' => true,
'height' => true,
'width' => true,
'frameborder' => true,
'allowfullscreen' => true,
);
return $tags;
}
add_filter( 'wp_kses_allowed_html', 'custom_wpkses_post_tags', 10, 2 );
Yes that worked, thank you. I think other people will need this same code.