[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
List Table API: WP_Links_List_Table class
File Size: | 349 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
WP_Links_List_Table:: (19 methods):
__construct()
ajax_user_can()
prepare_items()
no_items()
get_bulk_actions()
extra_tablenav()
get_columns()
get_sortable_columns()
get_default_primary_column_name()
column_cb()
column_name()
column_url()
column_categories()
column_rel()
column_visible()
column_rating()
column_default()
display_rows()
handle_row_actions()
Class: WP_Links_List_Table - X-Ref
Core class used to implement displaying links 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 |
no_items() X-Ref |
No description |
get_bulk_actions() X-Ref |
return: array |
extra_tablenav( $which ) X-Ref |
param: string $which |
get_columns() X-Ref |
return: array |
get_sortable_columns() X-Ref |
return: array |
get_default_primary_column_name() X-Ref |
Get the name of the default primary column. return: string Name of the default primary column, in this case, 'name'. since: 4.3.0 |
column_cb( $item ) X-Ref |
Handles the checkbox column output. param: object $item The current link object. since: 4.3.0 since: 5.9.0 Renamed `$link` to `$item` to match parent class for PHP 8 named parameter support. |
column_name( $link ) X-Ref |
Handles the link name column output. param: object $link The current link object. since: 4.3.0 |
column_url( $link ) X-Ref |
Handles the link URL column output. param: object $link The current link object. since: 4.3.0 |
column_categories( $link ) X-Ref |
Handles the link categories column output. param: object $link The current link object. since: 4.3.0 |
column_rel( $link ) X-Ref |
Handles the link relation column output. param: object $link The current link object. since: 4.3.0 |
column_visible( $link ) X-Ref |
Handles the link visibility column output. param: object $link The current link object. since: 4.3.0 |
column_rating( $link ) X-Ref |
Handles the link rating column output. param: object $link The current link object. since: 4.3.0 |
column_default( $item, $column_name ) X-Ref |
Handles the default column output. param: object $item Link object. param: string $column_name Current column name. since: 4.3.0 since: 5.9.0 Renamed `$link` to `$item` to match parent class for PHP 8 named parameter support. |
display_rows() X-Ref |
No description |
handle_row_actions( $item, $column_name, $primary ) X-Ref |
Generates and displays row action links. return: string Row actions output for links, or an empty string param: object $item Link 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 `$link` to `$item` to match parent class for PHP 8 named parameter support. |
Generated: Thu Nov 21 01:00:03 2024 | Cross-referenced by PHPXref 0.7.1 |