Skip to content
Corex

ProviderTestController

Corex\Config\Settings\ProviderTestController · class · Config layer

“Test connection” for the Insights providers’ keys (spec 119, US-SET-03). manage_options and a REST nonce gate it, as the captcha test route is gated; the answer carries the line the page shows and whether the key worked, never the key.

test(WP_REST_Request $request): WP_REST_Response

Section titled “test(WP_REST_Request $request): WP_REST_Response”