$instance $instance : mixed Protected static variable to hold the single instance of the class. Type mixed — Default null
get_class_name() get_class_name() : \MainWP\Dashboard\__CLASS__ Get Class Name Returns \MainWP\Dashboard\__CLASS__
get_instance() get_instance() : mixed Return the single instance of the class. Returns mixed — $instance The single instance of the class.
init_left_menu() init_left_menu(array $subPages = array()) Instantiate left menu REST API Page & SubPage link data. Parameters array $subPages SubPages Array.
handle_rest_api_add_new() handle_rest_api_add_new() Method handle_rest_api_add_new() Handle rest api settings
ajax_rest_api_remove_keys() ajax_rest_api_remove_keys() Method ajax_rest_api_remove_keys() Remove API Key.
render_header() render_header(string $shownPage = '') Render Page Header. Parameters string $shownPage The page slug shown at this moment.
check_rest_api_updates() check_rest_api_updates() Method check_rest_api_updates(). To Checks for updating REST API keys.
mainwp_generate_rand_hash() mainwp_generate_rand_hash() : string Method mainwp_generate_rand_hash() Generates a random hash to be used when generating the consumer key and secret. Returns string — Returns random string.
render_rest_api_edit() render_rest_api_edit(string $keyid, array $item) Method render_rest_api_edit(). Render REST API edit screen. Parameters string $keyid Key ID edit. array $item The Key edit.
check_rest_api_enabled() check_rest_api_enabled(boolean $check_logged_in = false) : boolean Method check_rest_api_enabled(). Parameters boolean $check_logged_in check for logged in user or not. Returns boolean — check result.