Provider::filter_include_sections( array $sections )
This builds the Info_Section object and adds it to the Site Health screen.
Contents
Parameters
- $sections
-
(array) (Required) The array of sections to be displayed.
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;
}
Changelog
| Version | Description |
|---|---|
| 6.1.0 | Introduced. |