WP_Posts_List_Table
class WP_Posts_List_Table
// Constructor: function Object() { [native code] } Core class used to implement displaying posts in a list table.
Methods 32 methods
| Method / Return | Description |
|---|---|
| __construct() void | Constructor.
Parameters: $args: mixed |
| set_hierarchical_display() void | Sets whether the table layout should be hierarchical or not.
Parameters: $display: mixed |
| ajax_user_can() bool | No description available. |
| prepare_items() void | No description available. |
| has_items() bool | No description available. |
| no_items() void | No description available. |
| is_base_request() bool | Determines if the current view is the "All" view. |
| get_edit_link() string | Creates a link to edit.php with params.
Parameters: $args: mixed, $link_text: mixed, $css_class: mixed |
| get_views() array | No description available. |
| get_bulk_actions() array | No description available. |
| categories_dropdown() void | Displays a categories drop-down for filtering on the Posts list table.
Parameters: $post_type: mixed |
| formats_dropdown() void | Displays a formats drop-down for filtering items.
Parameters: $post_type: mixed |
| extra_tablenav() void | No description available.
Parameters: $which: mixed |
| current_action() string | No description available. |
| get_table_classes() array | No description available. |
| get_columns() string[] | No description available. |
| get_sortable_columns() array | No description available. |
| display_rows() void | Generates the list table rows.
Parameters: $posts: mixed, $level: mixed |
| _display_rows() void | No description available.
Parameters: $posts: mixed, $level: mixed |
| _display_rows_hierarchical() void | No description available.
Parameters: $pages: mixed, $pagenum: mixed, $per_page: mixed |
| _page_rows() void | Displays the nested hierarchy of sub-pages together with paging
Parameters: $children_pages: mixed, $count: mixed, $parent_page: mixed, $level: mixed, $pagenum: mixed, $per_page: mixed, $to_display: mixed |
| column_cb() void | Handles the checkbox column output.
Parameters: $item: mixed |
| _column_title() void | No description available.
Parameters: $post: mixed, $classes: mixed, $data: mixed, $primary: mixed |
| column_title() void | Handles the title column output.
Parameters: $post: mixed |
| column_date() void | Handles the post date column output.
Parameters: $post: mixed |
| column_comments() void | Handles the comments column output.
Parameters: $post: mixed |
| column_author() void | Handles the post author column output.
Parameters: $post: mixed |
| column_default() void | Handles the default column output.
Parameters: $item: mixed, $column_name: mixed |
| single_row() void | No description available.
Parameters: $post: mixed, $level: mixed |
| get_default_primary_column_name() string | Gets the name of the default primary column. |
| handle_row_actions() string | Generates and displays row action links.
Parameters: $item: mixed, $column_name: mixed, $primary: mixed |
| inline_edit() void | Outputs the hidden row displayed when inline editing |
Properties
| Property / Type | Description |
|---|---|
| $hierarchical_display mixed public | No description available. |
| $comment_pending_count mixed public | No description available. |
| $user_posts_count mixed public | No description available. |
| $sticky_posts_count mixed public | No description available. |
| $is_trash mixed public | No description available. |
| $current_level mixed public | No description available. |