I’ve got a very basic solution using fetch_feed() and SimplePie to pull in RSS items which is working on my localhost, but for some reason is_wp_error() persists as true...
  • May 16, 2022
  • 0 Comments
I am using the fetch_feed() function provided in WordPress to build a SimplePie feed object. The code from WP is the following: function fetch_feed($url) { require_once (ABSPATH . WPINC...
  • May 15, 2022
  • 0 Comments
According to the docs, if you want to cache results for a fetch of RSS feeds with simplepie, you do this: add_filter( 'wp_feed_cache_transient_lifetime' , 'return_7200' ); $feed = fetch_feed(...
  • May 9, 2022
  • 0 Comments