library/Admin/UI/Editor.php
public function allowedHtmlTags($init)
    {
        $extend = 'div[*], style[*], script[*], iframe[*], span[*], section[*], article[*], header[*], footer[*]';

        if (isset($init['extended_valid_elements']) && !empty($init['extended_valid_elements'])) {
            $init['extended_valid_elements'] .= ', ' . $extend;
        } else {
            $init['extended_valid_elements'] = $extend;
        }

        return $init;
    }
public function allowedHtmlTags($init)
    {
        $extend = 'div[*], style[*], script[*], iframe[*], span[*], section[*], article[*], header[*], footer[*]';

        if (isset($init['extended_valid_elements']) && !empty($init['extended_valid_elements'])) {
            $init['extended_valid_elements'] .= ', ' . $extend;
        } else {
            $init['extended_valid_elements'] = $extend;
        }

        return $init;
    }
public function allowedHtmlTags ( $ init ) { $ extend = 'div[*], style[*], script[*], iframe[*], span[*], section[*], article[*], header[*], footer[*]' ; if ( isset ( $ init [ 'extended_valid_elements' ] ) && ! empty ( $ init [ 'extended_valid_elements' ] ) ) { $ init [ 'extended_valid_elements' ] .= ', ' . $ extend ; } else { $ init [ 'extended_valid_elements' ] = $ extend ; } return $ init ; }
Extend valid html-elements for wp editor
@param  array $init
@return array
Extend valid html - elements for wp editor