$subPages
$subPages : array
Public static variable to hold Sub-pages data.
Class MainWP_Posts
get_hidden_columns(mixed $hidden, mixed $screen) : \MainWP\Dashboard\(mixed)
Method get_hidden_columns()
Get the currently hidden page columns.
mixed | $hidden | User option value. |
mixed | $screen | Current screen ID. |
$hidden User option value on success, false on failure.
admin_post_thumbnail_html(mixed $content, mixed $post_id, mixed $thumbnail_id) : string
Method admin_post_thumbnail_html()
Grab the post thumbnail html.
mixed | $content | Admin post thumbnail HTML markup. |
mixed | $post_id | Post ID. |
mixed | $thumbnail_id | Thumbnail ID. |
html
render_table(boolean $cached = true, mixed $keyword = '', mixed $dtsstart = '', mixed $dtsstop = '', mixed $status = '', mixed $groups = '', mixed $sites = '', integer $postId, integer $userId, string $post_type = '', string $search_on = 'all', mixed $clients = '')
Renders Posts table.
boolean | $cached | Show cached data or not. Default: true. |
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. |
integer | $postId | Post ID. |
integer | $userId | Current user ID. |
string | $post_type | Post type. |
string | $search_on | Site on all sites. Default = all. |
mixed | $clients | Clients. |
render_table_body(mixed $keyword, mixed $dtsstart, mixed $dtsstop, mixed $status, mixed $groups, mixed $sites, integer $postId, integer $userId, string $post_type = '', string $search_on = 'all', boolean $table_content = false, mixed $clients = '') : string
Method render_table_body()
Render Posts table body.
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. |
integer | $postId | Post ID. |
integer | $userId | Current user ID. |
string | $post_type | Post type. |
string | $search_on | Site on all sites. Default = all. |
boolean | $table_content | Generate table content only. Default = false. |
mixed | $clients | Clients. |
Post table body html.
wp_post_thumbnail_html(integer $thumbnail_id = null, mixed $pos = null) : string
Output HTML for the post thumbnail meta-box.
integer | $thumbnail_id | ID of the attachment used for thumbnail. |
mixed | $pos | The post ID or object associated with the thumbnail, defaults to global $post. |
html
touch_time(object $post, integer $edit = 1, integer $for_post = 1, integer $tab_index, integer $multi) : string
Method touch_time()
Add time stamps to Post for screen readers.
object | $post | Current Post object. |
integer | $edit | Whether or not this is an edit or new post. |
integer | $for_post | For post. |
integer | $tab_index | Tabindex position. |
integer | $multi | Multi. |
Hidden time stamps html.