\lloc\MslsMslsMain

Abstraction for the hook classes

Summary

Methods
Properties
Constants
__construct()
init()
debugger()
get_input_array()
is_autosave()
verify_nonce()
delete()
No public properties found
No constants found
get_input_value()
save()
$options
$collection
N/A
No private methods found
No private properties found
N/A

Properties

Methods

init()

init() : static

Factory

Returns

static

debugger()

debugger(mixed  $message) 

Prints a message in the error log if WP_DEBUG is true

Parameters

mixed $message

get_input_array()

get_input_array(integer  $object_id) : array

Get the input array

Parameters

integer $object_id

Returns

array

is_autosave()

is_autosave(integer  $post_id) : boolean

Checks if the current input comes from the autosave-functionality

Parameters

integer $post_id

Returns

boolean

verify_nonce()

verify_nonce() : boolean

Checks for the nonce in the INPUT_POST

Returns

boolean

delete()

delete(integer  $object_id) 

Delete

Parameters

integer $object_id

get_input_value()

get_input_value(  $key,   $value) : array

Prepare input key/value-pair

Parameters

$key
$value

Returns

array

save()

save(integer  $object_id, string  $class) 

Save

Parameters

integer $object_id
string $class