get_option Wordpress function


Description:

Retrieve 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. Default value to return if the option does not exist.


Return Type:

(mixed) Value set for the option.


Define At:

wp-includes/option.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_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 ×