\um\adminAdmin_Functions

Class Admin_Functions

Summary

Methods
Properties
Constants
check_ajax_nonce()
is_um_screen()
is_plugin_post_type()
is_restricted_entity()
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

check_ajax_nonce()

check_ajax_nonce(bool  $action = false) : mixed

Check wp-admin nonce

Parameters

bool $action

Returns

mixed

is_um_screen()

is_um_screen() : bool

Boolean check if we're viewing UM backend

Returns

bool

is_plugin_post_type()

is_plugin_post_type() : bool

Check if current page load UM post type

Returns

bool

is_restricted_entity()

is_restricted_entity() : bool

If page now show content with restricted post/taxonomy

Returns

bool