WP_REST_Site_Health_Controller::test_loopback_requests()

Checks that loopbacks can be performed.

Return

(array)

Source

File: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php

public function test_loopback_requests() {
		$this->load_admin_textdomain();
		return $this->site_health->get_test_loopback_requests();
	}

Changelog

Version Description
5.6.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/WP_REST_Site_Health_Controller/test_loopback_requests