Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Checking for SimplePie error
if ( $this->feed->error() ) {
return $this->feed = new WP_Error( 'simplepie-error', $this->feed->error() );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment