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

remove thumbnail method for posts

parent 0ed03621
Branches
No related tags found
No related merge requests found
......@@ -182,6 +182,23 @@ class WP_XMLRPC_Client extends WP_HTTP_IXR_Client implements WP_Client {
return true;
}
public function remove_post_thumbnail( $post_ID ) {
$result = $this->query(
'pushSyndicateRemoveThumbnail',
'1',
$this->username,
$this->password,
$post_ID
);
if( !$result )
return false;
return true;
}
public function set_options($options, $ext_ID)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment