Properties

$form_nonce_added

$form_nonce_added : boolean

Type

boolean

Methods

__construct()

__construct() 

Admin_Metabox constructor.

is_UM_admin()

is_UM_admin() : boolean

Boolean check if we're viewing UM backend

Returns

boolean

get_custom_post_meta()

get_custom_post_meta(  $id) : mixed

Gets the role meta

Parameters

$id

Returns

mixed

admin_head()

admin_head() 

Runs on admin head

add_metabox()

add_metabox() 

Init the metaboxes

save_metabox_custom()

save_metabox_custom(  $post_id,   $post) : mixed

Parameters

$post_id
$post

Returns

mixed

add_metabox_restrict_content()

add_metabox_restrict_content() 

restrict_content_cb()

restrict_content_cb(  $object,   $box) 

Content restriction metabox

Parameters

$object
$box

add_taxonomy_metabox()

add_taxonomy_metabox() 

Init the metaboxes

save_metabox_restrict_content()

save_metabox_restrict_content(  $post_id,   $post) : mixed

Parameters

$post_id
$post

Returns

mixed

save_attachment_metabox_restrict_content()

save_attachment_metabox_restrict_content(  $post_id) : mixed

Parameters

$post_id

Returns

mixed

um_category_access_fields_create()

um_category_access_fields_create() 

um_category_access_fields_edit()

um_category_access_fields_edit(  $term) 

Parameters

$term

um_category_access_fields_save()

um_category_access_fields_save(  $termID) : mixed

Parameters

$termID

Returns

mixed

load_metabox_directory()

load_metabox_directory(  $object,   $box) 

Load a directory metabox

Parameters

$object
$box

load_metabox_role()

load_metabox_role(  $object,   $box) 

Load a role metabox

Parameters

$object
$box

load_metabox_form()

load_metabox_form(  $object,   $box) 

Load a form metabox

Parameters

$object
$box

load_metabox_custom()

load_metabox_custom(  $object,   $box) 

Load admin custom metabox

Parameters

$object
$box

add_metabox_directory()

add_metabox_directory() 

Add directory metabox

add_metabox_role()

add_metabox_role() 

Add role metabox

add_metabox_form()

add_metabox_form() 

Add form metabox

save_metabox_directory()

save_metabox_directory(  $post_id,   $post) : mixed

Save directory metabox

Parameters

$post_id
$post

Returns

mixed

save_metabox_form()

save_metabox_form(  $post_id,   $post) : mixed

Save form metabox

Parameters

$post_id
$post

Returns

mixed

load_modal_content()

load_modal_content() 

Load modal content

field_input()

field_input(  $attribute, null  $form_id = null, array  $field_args = array()) 

Show field input for edit at modal field

Parameters

$attribute
null $form_id
array $field_args