get_option
— Get an option from the options table.
Summary
- get_option($name)
Get an option from the options table.
If the returned value represents an object or array, it must be unserialized by the caller before use. For example: <code> $object = unserialize(get_option(‘plugin_object’)); </code>
- Parameters:
$name (
string
) – The option name.
- Returns:
string The option value.