Provider::filter_include_sections( array $sections )

This builds the Info_Section object and adds it to the Site Health screen.


Parameters

$sections

(array) (Required) The array of sections to be displayed.


Top ↑

Source

File: src/Events_Pro/Site_Health/Provider.php

	public function filter_include_sections( $sections ) {
		$sections[ Info_Section::get_slug() ] = $this->container->make( Info_Section::class );

		return $sections;
	}

Top ↑

Changelog

Changelog
Version Description
6.1.0 Introduced.