Filters the main network ID.
Parameters
$main_network_idint- The ID of the main network.
Source
return (int) apply_filters( 'get_main_network_id', $main_network_id );
Changelog
| Version | Description |
|---|---|
| 4.3.0 | Introduced. |
Filters the main network ID.
$main_network_idintreturn (int) apply_filters( 'get_main_network_id', $main_network_id );
| Version | Description |
|---|---|
| 4.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.