We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ee966e commit 808b73fCopy full SHA for 808b73f
includes/rest/class-actors.php
@@ -41,7 +41,6 @@ public static function register_routes() {
41
array(
42
'methods' => WP_REST_Server::READABLE,
43
'callback' => array( self::class, 'get' ),
44
- 'args' => self::request_parameters(),
45
'permission_callback' => '__return_true',
46
),
47
)
@@ -138,19 +137,4 @@ public static function remote_follow_get( WP_REST_Request $request ) {
138
137
200
139
);
140
}
141
-
142
- /**
143
- * The supported parameters.
144
- *
145
- * @return array List of parameters,
146
- */
147
- public static function request_parameters() {
148
- $params = array();
149
150
- $params['page'] = array(
151
- 'type' => 'string',
152
- );
153
154
- return $params;
155
- }
156
0 commit comments