get_site_option Wordpress function


Description:

Retrieve site option value based on name of option.


Syntax:


Arguments:

(string) $option Name of option to retrieve. Expected to not be SQL-escaped.
(mixed) $default Optional value to return if option doesn't exist. Default false.
(bool) $use_cache Whether to use cache. Multisite only. Default true.


Return Type:

(mixed) Value set for the option.


Define At:

wp-includes/option.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_site_option


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×