\MainWP\DashboardMainWP_Recent_Pages

Class MainWP_Recent_Pages

Displays the Child Sites most recent published draft, pending, trash & future Pages.

Summary

Methods
Properties
Constants
get_class_name()
render()
render_sites()
render_top_grid()
render_published_posts()
render_draft_posts()
render_pending_posts()
render_future_posts()
render_trash_posts()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

get_class_name()

get_class_name() : string

Method get_class_name()

Returns

string —

CLASS Class Name

render()

render() 

Method render()

Fire off Method render_sites().

render_top_grid()

render_top_grid() 

Render MainWP Recent Paged Widget Header

render_published_posts()

render_published_posts(array  $allPages, integer  $recent_number, boolean  $individual) 

Render Published Pages.

Parameters

array $allPages

All pages data.

integer $recent_number

Number of posts.

boolean $individual

Determins if it's individual site dashbaord.

render_draft_posts()

render_draft_posts(array  $allPages, integer  $recent_number, boolean  $individual) 

Render all draft pages.

Parameters

array $allPages

All pages data.

integer $recent_number

Number of pages.

boolean $individual

Determins if it's individual site dashbaord.

render_pending_posts()

render_pending_posts(array  $allPages, integer  $recent_number, boolean  $individual) 

Render all pending pages.

Parameters

array $allPages

All pages data.

integer $recent_number

Number of pages.

boolean $individual

Determins if it's individual site dashbaord.

render_future_posts()

render_future_posts(array  $allPages, integer  $recent_number, boolean  $individual) 

Render all future pages.

Parameters

array $allPages

All pages data.

integer $recent_number

Number of pages.

boolean $individual

Determins if it's individual site dashbaord .

render_trash_posts()

render_trash_posts(array  $allPages, integer  $recent_number, boolean  $individual) 

Render all trashed pages.

Parameters

array $allPages

All pages data.

integer $recent_number

Number of pages.

boolean $individual

Determins if it's individual site dashbaord.