如何在不剥离iframe代码的情况下获取SimplePie fetch_feed?
我在插件中抓取了一个远程供稿,有些条目包含我要保留的iframe代码。但是,SimplePie fetch_feed一直将其剥离。这是我的代码以及我已经尝试过的内容: kses_remove_filters(); # remove kses filters but SimplePie strips codes anyway $rss = fetch_feed( 'http://www.someblog.com/feed/' ); $rss_items = $rss->get_items( 0, 2 ); # get two entries for this example foreach ( $rss_items as $item ) { # just dump to screen: echo "<div id='message' class='updated'><p>" . $item->get_content() . "</p></div>"; …