aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
Diffstat (limited to 'ws.php')
-rw-r--r--ws.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/ws.php b/ws.php
index f43da5b9b..1eab00306 100644
--- a/ws.php
+++ b/ws.php
@@ -388,6 +388,17 @@ function ws_addDefaultMethods( $arr )
'install/activate/deactivate/uninstall/delete a plugin
<br>administration status required'
);
+
+ $service->addMethod(
+ 'pwg.themes.performAction',
+ 'ws_themes_performAction',
+ array(
+ 'action' => array('default' => null),
+ 'themes' => array('default' => null),
+ 'pwg_token' => array('default' => null),
+ ),
+ 'activate/deactivate/delete/set_default a theme<br>administration status required'
+ );
}
add_event_handler('ws_add_methods', 'ws_addDefaultMethods');