[\d]+)/(?P[\w-]+) * * @return string */ public function get_query_params() { return ''; } /** * Returns arguments config * * Example: * * array( * array( * 'type' => array( * 'default' => '', * 'required' => false, * ), * ) * * @return array */ public function get_args() { return array(); } /** * Check user access to current end-popint * * @return string|bool */ public function permission_callback($request) { return current_user_can( 'manage_options' ); } }