[KB_Includes] element index
Package indexes
PressTest
default
WordPress
All elements
a
b
c
h
i
k
l
m
p
r
s
_
_
top
__construct
KB_Singleton::__construct()
in kb-singleton.php
The constructor must be hidden.
__construct
KB_Plugin::__construct()
in kb-plugin.php
__construct
KB_Cpt::__construct()
in kb-cpt.php
Constructor -- check if the 'init' action has run and accordingly register the post type.
__construct
KB_At::__construct()
in kb-at.php
Hooks based on docs
__construct
KB_Admin::__construct()
in kb-admin.php
The constructor, conditionally initializes the requirements for the plugin.
a
top
add_to_menu
KB_Admin::add_to_menu()
in kb-admin.php
Add menus and determine the hook.
b
top
body
KB_Admin::body()
in kb-admin.php
Extend this function to actually display the contents of the page. Should echo the data to be displayed.
body_wrapper
KB_Admin::body_wrapper()
in kb-admin.php
Output minimal boiler-plate HTML to make the page behave.
c
top
$capability
KB_Admin::$capability
in kb-admin.php
Capability at which this page can be shown.
current_page
KB_Admin::current_page()
in kb-admin.php
Returns true if the current page is the one added by this class.
customize_screen
KB_Admin::customize_screen()
in kb-admin.php
Override to customize the screen--screen options, etc.
h
top
help
KB_Admin::help()
in kb-admin.php
Override to modify the help message.
hook_page
KB_Admin::hook_page()
in kb-admin.php
Add a page to be loaded for the specified slug. Do not over-ride.
hook_page_title
KB_Admin::hook_page_title()
in kb-admin.php
Set the title of a page defined without any entry in the menu.
i
top
$icon
KB_Admin::$icon
in kb-admin.php
Icon to be added in the menu.
$instance
KB_Singleton::$instance
in kb-singleton.php
Storing the instance
init
KB_Admin::init()
in kb-admin.php
Wrapper for conditionally loading resources
k
top
kb-admin.php
kb-admin.php
in kb-admin.php
kb-at.php
kb-at.php
in kb-at.php
kb-cpt.php
kb-cpt.php
in kb-cpt.php
kb-plugin.php
kb-plugin.php
in kb-plugin.php
kb-singleton.php
kb-singleton.php
in kb-singleton.php
KB_Admin
KB_Admin
in kb-admin.php
Generic Class that can be extended for creating admin screens for plugins.
KB_At
KB_At
in kb-at.php
Syntactic sugar for adding functions to actions/filters.
KB_Cpt
KB_Cpt
in kb-cpt.php
Generic class to handle common CPT functionality.
KB_Plugin
KB_Plugin
in kb-plugin.php
Base class for plugins.
KB_Singleton
KB_Singleton
in kb-singleton.php
Singleton abstract class.
kb-admin.php
kb-admin.php
in kb-admin.php
kb-at.php
kb-at.php
in kb-at.php
l
top
load_resources
KB_Admin::load_resources()
in kb-admin.php
Override to load resources as required
m
top
$menu_title
KB_Admin::$menu_title
in kb-admin.php
Menu title
p
top
$page_title
KB_Admin::$page_title
in kb-admin.php
Page title
$parent
KB_Admin::$parent
in kb-admin.php
Parent Menu
$position
KB_Admin::$position
in kb-admin.php
Position in the menu
r
top
register
KB_Cpt::register()
in kb-cpt.php
s
top
$slug
KB_Admin::$slug
in kb-admin.php
Store slug used for the page.
set_current_page
KB_Admin::set_current_page()
in kb-admin.php
Runs only if the page corresponding to this class is called.
singleton
KB_Singleton::singleton()
in kb-singleton.php
The singleton function must control access
a
b
c
h
i
k
l
m
p
r
s
_