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
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
administration status required' + ); } add_event_handler('ws_add_methods', 'ws_addDefaultMethods');