Skip to content

Instantly share code, notes, and snippets.

@vynnus
vynnus / functions.php
Created Jul 29, 2017 — forked from h2ospace/functions.php
WordPress: ebnale iframe for not administrator
View functions.php
<?php
function content_save_pre_func($content){
global $allowedposttags;
$allowedposttags['iframe'] = array(
'class' => array () ,
'src'= > array() ,
'width' => array(),
'height' => array() ,
'frameborder' => array() ,
You can’t perform that action at this time.