You appear to be a bot. Output may be restricted
Description
Called automatically on `rest_api_init()`.
Usage
WPCOM_REST_API_V2_Endpoint_List_Publicize_Connection_Test_Results::register_routes();
Parameters
Returns
void
Source
File name: jetpack/_inc/lib/core-api/wpcom-endpoints/publicize-connection-test-results.php
Lines:
1 to 14 of 14
public function register_routes() { register_rest_route( $this->namespace, '/' . $this->rest_base, array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => array( $this, 'get_items' ), 'permission_callback' => array( $this, 'get_items_permission_check' ), ), 'schema' => array( $this, 'get_public_item_schema' ), ) ); }