\MainWP\Dashboard\Module\LogLog_Settings

Class - Log_Settings

Summary

Methods
Properties
Constants
__construct()
admin_init()
add_subpage_menu_settings()
hook_init_primary_menu_items()
init_menu()
on_load_page()
render_settings_page()
$manager
$options
$page
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$manager

$manager : \MainWP\Dashboard\Module\Log\Log_manager

Holds Instance of manager object

Type

\MainWP\Dashboard\Module\Log\Log_manager

$options

$options : \MainWP\Dashboard\Module\Log\options

Holds settings values.

Type

\MainWP\Dashboard\Module\Log\options

$page

$page : string

Current page.

Type

string — Current page.

Methods

admin_init()

admin_init() 

Handle admin_init action.

add_subpage_menu_settings()

add_subpage_menu_settings(array  $subpages = array()) 

Init sub menu logs settings.

Parameters

array $subpages

Sub pages.

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.

init_menu()

init_menu() 

Method init_menu()

Add Insights Overview sub menu "Insights".

on_load_page()

on_load_page() 

Method on_load_page()

Run on page load.

render_settings_page()

render_settings_page() 

Render Insights settings page.