\Jetpack_Options

Summary

Methods
Properties
Constants
get_option_names()
get_option()
update_option()
update_options()
delete_option()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

get_option_names()

get_option_names( $type)

Parameters

$type

get_option()

get_option(string $name, mixed $default)

Returns the requested option. Looks in jetpack_options or jetpack_$name as appropriate.

Parameters

string $name

Option name

mixed $default

(optional)

update_option()

update_option(string $name, mixed $value)

Updates the single given option. Updates jetpack_options or jetpack_$name as appropriate.

Parameters

string $name

Option name

mixed $value

Option value

update_options()

update_options(array $array)

Updates the multiple given options. Updates jetpack_options and/or jetpack_$name as appropriate.

Parameters

array $array

array( option name => option value, ... )

delete_option()

delete_option(string|array $names)

Deletes the given option. May be passed multiple option names as an array.

Updates jetpackoptions and/or deletes jetpack$name as appropriate.

Parameters

string|array $names