Skip to content
Snippets Groups Projects
Commit a1f1b077 authored by Prasath Nadarajah's avatar Prasath Nadarajah
Browse files

calling simple pie parent constructor

parent af16129d
Branches
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@ class WP_RSS_Client extends SimplePie implements WP_Client{
private $error_code;
function __construct( $site_ID ) {
parent::SimplePie();
$this->set_feed_url( get_post_meta( $site_ID, 'syn_feed_url', true ) );
}
......@@ -92,7 +93,8 @@ class WP_RSS_Client extends SimplePie implements WP_Client{
public function get_posts( $args )
{
// TODO: Implement get_posts() method.
$this->init();
$this->handle_content_type();
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment