Summery Summery
Filters the main site ID.
Syntax Syntax
Description Description
Returning a positive integer will effectively short-circuit the function.
Parameters Parameters
- $main_site_id
-
If a positive integer is returned, it is interpreted as the main site ID.
- $network
-
The network object for which the main site was detected.
Source Source
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |