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

Glossary Term

get_site_option()

3 tags 1 category

get_site_option() — Retrieve an option value for the current network based on name of option.

Inputs: $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. $deprecated (bool): Whether to use cache. Multisite only. Always set to true.

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…