Last active
August 29, 2015 14:10
-
-
Save rachelbaker/699fdd8e1a8e75383afb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sm_custom_html_tags() { | |
global $allowedposttags; | |
$allowedposttags['iframe'] = array( | |
'src' => true, | |
'width' => true, | |
'height' => true, | |
'frameborder' => true, | |
'webkitallowfullscreen' => true, | |
'mozallowfullscreen' => true, | |
'allowfullscreen' => true, | |
); | |
} | |
add_action( 'init', 'sm_custom_html_tags', 10 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment