[WordPress] Enabling iframes for posts retrieved with shortcodes.
I had defined a shortcode in function.php and retrieved the articles in it. I solved this problem because I could not display the article properly if there was an iframe in the article.
WordPress provides the ‘wp_kses_allowed_html’ function, so I used this.
The ‘wp_kses_allowed_html’ allows HTML tags to be allowed by giving them to the context.