$instance $instance : mixed Public static variable to hold the single instance of the class. Type mixed — Default null
get_instance() get_instance() : \MainWP\Dashboard\Module\ApiBackups\Api_Backups_Hooks Get Instance Creates public static instance. Returns \MainWP\Dashboard\Module\ApiBackups\Api_Backups_Hooks
hook_init_primary_menu_items() hook_init_primary_menu_items(array $items, string $which_menu) : array Init sub menu logs settings. Parameters array $items Sub menu items. string $which_menu first|second. Returns array — $tmp_items Menu items.
managesites_subpage() managesites_subpage(array $subPage) Init sub menu manage sites. Parameters array $subPage Sub pages.
add_subpage_menu_settings() add_subpage_menu_settings(array $subpages = array()) Init sub menu logs settings. Parameters array $subpages Sub pages.