Tribe__Settings::addNetworkPage()
create the network options page
Return
(void)
Source
File: src/Tribe/Settings.php
public function addNetworkPage() {
if ( ! $this->should_setup_network_pages() ) {
return;
}
$this->admin_page = add_submenu_page(
'settings.php', esc_html__( 'Events Settings', 'tribe-common' ), esc_html__( 'Events Settings', 'tribe-common' ), $this->requiredCap, $this->adminSlug, array(
$this,
'generatePage',
)
);
$this->admin_page = add_submenu_page(
'settings.php',
esc_html__( 'Events Help', 'tribe-common' ),
esc_html__( 'Events Help', 'tribe-common' ),
$this->requiredCap,
$this->help_slug,
array(
tribe( 'settings.manager' ),
'do_help_tab',
)
);
}