$subPages $subPages : array Public static variable containing the sub-pages array. Type array — Subpages array.
$subPagesLoaded $subPagesLoaded : boolean Public statis variable to determine whether or not MainWP Child Plugin subpages should be loaded. Default: false. Type boolean — true|false.
$brandingTitle $brandingTitle : string Public statis variable to contain custom branding title. Type string — Branding title.
$instance $instance : mixed Public static variable to hold the single instance of the class. Type mixed — Default null
get_class_name() get_class_name() : string Method get_class_name() Get class name. Returns string — CLASS Class name.
get_instance() get_instance() : mixed Method get_instance() Create a public static instance. Returns mixed — Class instance.
admin_notice() admin_notice() Show disconnected admin notice. Show the Warning notice in case the site is not connected to MainWP Dashboard.
plugin_row_meta() plugin_row_meta(array $plugin_meta, string $plugin_file) : mixed MainWP Child Plugin meta data. Parameters array $plugin_meta Plugin meta. string $plugin_file Plugin file. Returns mixed — The filtered value after all hooked functions are applied to it.
render_pages() render_pages(string $shownPage) Render MainWP Child Plugin pages. Parameters string $shownPage Page that has been shown.
render_header() render_header(string $shownPage, boolean $subpage = true, boolean $show_clone_funcs = true) Render page header. Parameters string $shownPage Page shown. boolean $subpage Whether or not a subpage. Default: true. boolean $show_clone_funcs Whether or not to show clone tabs.
init_pages() init_pages(string $child_menu_title, string $child_page_title) Initiate MainWP Child Plugin pages. Parameters string $child_menu_title New MainWP Child Plugin title defined in branding settings. string $child_page_title New MainWP Child Plugin page title defined in branding settings.