process_request() process_request(\WPCOM_JSON_API_Endpoint $endpoint, $path_pieces) Parameters \WPCOM_JSON_API_Endpoint $endpoint $path_pieces
output_early() output_early( $status_code, $response, $content_type) Parameters $status_code $response $content_type
output() output( $status_code, $response, $content_type) Parameters $status_code $response $content_type
ensure_http_scheme_of_home_url() ensure_http_scheme_of_home_url( $url, $path, $original_scheme) Parameters $url $path $original_scheme
switch_to_blog_and_validate_user() switch_to_blog_and_validate_user( $blog_id, $verify_token_for_blog) Parameters $blog_id $verify_token_for_blog
trap_wp_die() trap_wp_die( $error_code) Traps `wp_die()` calls and outputs a JSON response instead. The result is always output, never returned. Parameters $error_code