\um\coreOptions

Class Options

Summary

Methods
Properties
Constants
__construct()
init_variables()
get()
update()
remove()
get_default()
get_core_page_id()
$options
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$options

$options : array

Type

array

Methods

__construct()

__construct() 

Options constructor.

init_variables()

init_variables() 

Set variables

get()

get(  $option_id) : mixed|string|void

Get UM option value

Parameters

$option_id

Returns

mixed|string|void

update()

update(  $option_id,   $value) 

Update UM option value

Parameters

$option_id
$value

remove()

remove(  $option_id) 

Delete UM option

Parameters

$option_id

get_default()

get_default(  $option_id) : boolean

Get UM option default value

Parameters

$option_id

Returns

boolean

get_core_page_id()

get_core_page_id(string  $key) : mixed|void

Get core page ID

Parameters

string $key

Returns

mixed|void