Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

get_network_option()

3 tags 1 category

get_network_option() — Retrieves a network’s option value based on the option name.

Inputs: $network_id (int|null): ID of the network. Can be null to default to the current network ID. $option (string): Name of the option to retrieve. Expected to not be SQL-escaped. $default_value (mixed): Optional. Value to return if the option doesn’t exist. Default false.

Returns mixed: Value set for the option.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…