\MainWP\Dashboard\Module\ApiBackupsApi_Backups_Hooks

Class Api_Backups_Hooks

Summary

Methods
Properties
Constants
get_instance()
__construct()
hook_init_primary_menu_items()
managesites_subpage()
add_subpage_menu_settings()
$instance
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$instance

$instance : mixed

Public static variable to hold the single instance of the class.

Type

mixed — Default null

Methods

__construct()

__construct() 

Constructor

Runs each time the class is called.

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.