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

new interface defines pushing options to slave site

parent dca01357
Branches
No related tags found
No related merge requests found
......@@ -30,6 +30,16 @@ interface wp_client {
*/
public function delete_post( $ext_ID );
/**
* Deletes an existing post in the slave site.
*
* @param array $options Array of options to push to the slave site.
* @param int $ext_ID Slave post ID to push options.
*
* @return boolean true on success false on failure.
*/
public function set_options( $options, $ext_ID );
/**
* Test the connection with the slave site.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment