[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
List Table API: WP_Media_List_Table class
File Size: | 868 lines (25 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
WP_Media_List_Table:: (24 methods):
__construct()
ajax_user_can()
prepare_items()
get_views()
get_bulk_actions()
extra_tablenav()
current_action()
has_items()
no_items()
views()
get_columns()
get_sortable_columns()
column_cb()
column_title()
column_author()
column_desc()
column_date()
column_parent()
column_comments()
column_default()
display_rows()
get_default_primary_column_name()
_get_row_actions()
handle_row_actions()
Class: WP_Media_List_Table - X-Ref
Core class used to implement displaying media items in a list table.__construct( $args = array() X-Ref |
Constructor. param: array $args An associative array of arguments. since: 3.1.0 |
ajax_user_can() X-Ref |
return: bool |
prepare_items() X-Ref |
get_views() X-Ref |
return: array |
get_bulk_actions() X-Ref |
return: array |
extra_tablenav( $which ) X-Ref |
param: string $which |
current_action() X-Ref |
return: string |
has_items() X-Ref |
return: bool |
no_items() X-Ref |
No description |
views() X-Ref |
Override parent views so we can use the filter bar display. |
get_columns() X-Ref |
return: array |
get_sortable_columns() X-Ref |
return: array |
column_cb( $item ) X-Ref |
Handles the checkbox column output. param: WP_Post $item The current WP_Post object. since: 4.3.0 since: 5.9.0 Renamed `$post` to `$item` to match parent class for PHP 8 named parameter support. |
column_title( $post ) X-Ref |
Handles the title column output. param: WP_Post $post The current WP_Post object. since: 4.3.0 |
column_author( $post ) X-Ref |
Handles the author column output. param: WP_Post $post The current WP_Post object. since: 4.3.0 |
column_desc( $post ) X-Ref |
Handles the description column output. param: WP_Post $post The current WP_Post object. since: 4.3.0 |
column_date( $post ) X-Ref |
Handles the date column output. param: WP_Post $post The current WP_Post object. since: 4.3.0 |
column_parent( $post ) X-Ref |
Handles the parent column output. param: WP_Post $post The current WP_Post object. since: 4.3.0 |
column_comments( $post ) X-Ref |
Handles the comments column output. param: WP_Post $post The current WP_Post object. since: 4.3.0 |
column_default( $item, $column_name ) X-Ref |
Handles output for the default column. param: WP_Post $item The current WP_Post object. param: string $column_name Current column name. since: 4.3.0 since: 5.9.0 Renamed `$post` to `$item` to match parent class for PHP 8 named parameter support. |
display_rows() X-Ref |
get_default_primary_column_name() X-Ref |
Gets the name of the default primary column. return: string Name of the default primary column, in this case, 'title'. since: 4.3.0 |
_get_row_actions( $post, $att_title ) X-Ref |
return: array param: WP_Post $post param: string $att_title |
handle_row_actions( $item, $column_name, $primary ) X-Ref |
Generates and displays row action links. return: string Row actions output for media attachments, or an empty string param: WP_Post $item Attachment being acted upon. param: string $column_name Current column name. param: string $primary Primary column name. since: 4.3.0 since: 5.9.0 Renamed `$post` to `$item` to match parent class for PHP 8 named parameter support. |
Generated: Sat Nov 23 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |