Properties

$subPages

$subPages : object

Subpages of Page.

Type

object

$load_page

$load_page : object

Pages to load.

Type

object

Methods

get_class_name()

get_class_name() : object

Method get_class_name()

Get Class Name.

Returns

object —

CLASS

init()

init() : void

Method init()

Initiate page.

init_menu()

init_menu() : void

Method init_menu()

Initiate Menu.

on_load_add_edit()

on_load_add_edit() : void

Method on_load_add_edit()

Add edit on load bulk posts.

init_subpages_menu()

init_subpages_menu() 

Method init_subpages_menu()

Initiate subpages menu.

init_left_menu()

init_left_menu(array  $subPages = array()) 

Method init_left_menu()

Initiate left menu.

Parameters

array $subPages

Left menu sub pages.

on_load_page()

on_load_page() 

Method on_load_page()

On page load.

get_manage_columns()

get_manage_columns() : array

Method get_manage_columns()

Get columns to display.

Returns

array —

$colums Columns to display.

admin_head()

admin_head() 

Method admin_head()

Add current screen ID to html header.

get_hidden_columns()

get_hidden_columns(mixed  $hidden, mixed  $screen) : string

Method get_hidden_columns()

Get hidden columns.

Parameters

mixed $hidden

Columns that are hidden.

mixed $screen

Current page.

Returns

string —

$hidden Hidden columns.

hook_screen_options_modal_bottom()

hook_screen_options_modal_bottom() 

Method hook_screen_options_modal_bottom()

Render screen options modal bottom.

render_header()

render_header(string  $shownPage = '', integer  $post_id = null) 

Method render_header()

Render page header.

Parameters

string $shownPage

Current page.

integer $post_id

Post ID.

render_footer()

render_footer() 

Method render_footer()

Render page footer.

render()

render() : void

Renders Bulk Page Manager.

render_search_options()

render_search_options() : void

Method render_search_options()

Render search options box.

render_table()

render_table(mixed  $cached, string  $keyword = '', string  $dtsstart = '', string  $dtsstop = '', string  $status = '', string  $groups = '', string  $sites = '', string  $search_on = 'all', mixed  $clients = '') : void

Method render_table()

Render Manage page table.

Parameters

mixed $cached

Cached search body.

string $keyword

Search keywords.

string $dtsstart

Date & time of Session start time.

string $dtsstop

Date & time of Session stop time.

string $status

Page status.

string $groups

Groups to display.

string $sites

Site URLS.

string $search_on

Site on all sites. Default = all.

mixed $clients

Selected Clients.

render_table_body()

render_table_body(mixed  $keyword, mixed  $dtsstart, mixed  $dtsstop, mixed  $status, mixed  $groups, mixed  $sites, string  $search_on = 'all', mixed  $clients = '') : void

Method render_table_body()

Render table body.

Parameters

mixed $keyword

Search keywords.

mixed $dtsstart

Date & time of Session start.

mixed $dtsstop

Date & time of Session stop.

mixed $status

Page statuses.

mixed $groups

Groups to display.

mixed $sites

Site URLS.

string $search_on

Site on all sites. Default = all.

mixed $clients

Selected Clients.

pages_search_handler()

pages_search_handler(mixed  $data, mixed  $website, mixed  $output) : void

Method pages_search_handler()

Pages Search handler.

Parameters

mixed $data

Search data.

mixed $website

Child Site ID to search on.

mixed $output

Search output.

publish()

publish() 

Method publish()

Publish page.

unpublish()

unpublish() 

Method unpublish()

Unpublish page.

trash()

trash() 

Method trash()

Trash page.

delete()

delete() 

Method delete()

Delete page.

restore()

restore() 

Method restore()

Restore page.

render_bulk_add()

render_bulk_add() : void

Method render_bulk_add()

Check if user has the rights to manage pages, grab the post id and pass onto render_addedit() method.

render_bulk_edit()

render_bulk_edit() : void

Method render_bulk_edit()

Check if user has the rights to manage pages, grab the post id and pass onto render_addedit() method.

render_addedit()

render_addedit(mixed  $post_id, mixed  $what) : void

Method render_addedit()

Render bulk posts page.

Parameters

mixed $post_id

Post ID.

mixed $what

Current page.

mainwp_help_content()

mainwp_help_content() : void

Method mainwp_help_content()

Hook the section help content to the Help Sidebar element

get_status()

get_status(mixed  $status) : string

Method get_status()

Get page status. If the page status is 'publish' change it to 'Published'.

Parameters

mixed $status

Page Status.

Returns

string —

Page status.