aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
Diffstat (limited to 'ws.php')
-rw-r--r--ws.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/ws.php b/ws.php
index ff4d35ce2..63f0d260d 100644
--- a/ws.php
+++ b/ws.php
@@ -186,6 +186,13 @@ function ws_addDefaultMethods( $arr )
),
'POST method only'
);
+
+ $service->addMethod(
+ 'pwg.categories.getAdminList',
+ 'ws_categories_getAdminList',
+ array(),
+ 'administration method only'
+ );
}
add_event_handler('ws_add_methods', 'ws_addDefaultMethods');