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.

add_status_handle()

add_status_handle(integer  $post_id) : integer

Method add_status_handle()

Add edit post status handle.

Parameters

integer $post_id

Post ID.

Returns

integer —

$post_id Post id with status handle added to it.

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(string  $shownPage) 

Method render_footer()

Render page footer.

Parameters

string $shownPage

Current page.

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') : 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.

render_table_body()

render_table_body(mixed  $keyword, mixed  $dtsstart, mixed  $dtsstop, mixed  $status, mixed  $groups, mixed  $sites, string  $search_on = 'all') : 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.

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.

render_twitter_notice()

render_twitter_notice() : void

Method render_twitter_notice()

Render twitter notice.

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.