Method |
Description |
|
delete_option ( string | array $names ) : boolean |
Deletes the given option. May be passed multiple option names as an array. |
|
get_option ( string $name, mixed $default = false ) : mixed |
Returns the requested option. Looks in jetpack_options or jetpack_$name as appropriate. |
|
get_option_and_ensure_autoload ( string $name, mixed $default ) : mixed | void |
Returns the requested option, and ensures it's autoloaded in the future. |
|
get_option_names ( string $type = 'compact' ) : array |
Returns an array of option names for a given type. |
|
is_valid ( string $name, string | null $group = null ) : boolean |
Is the option name valid? |
|
update_option ( string $name, mixed $value, string $autoload = null ) : boolean |
Updates the single given option. Updates jetpack_options or jetpack_$name as appropriate. |
|
update_options ( array $array ) |
Updates the multiple given options. Updates jetpack_options and/or jetpack_$name as appropriate. |
|