WP_REST_Site_Health_Controller::__construct() – Site Health controller constructor.

You appear to be a bot. Output may be restricted

Description

Site Health controller constructor.

Usage

WP_REST_Site_Health_Controller::__construct( $site_health );

Parameters

$site_health
( WP_Site_Health ) required – An instance of the site health class.

Returns

void

Source

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

1 to 6 of 6
  public function __construct( $site_health ) {
    $this->namespace = 'wp-site-health/v1';
    $this->rest_base = 'tests';

    $this->site_health = $site_health;
  }
 

 View on GitHub View on Trac