On this page
WP_List_Table::column_default( object|array $item, string $column_name )
Parameters
$itemobject|array Required$column_namestring Required
More Information
- This is method that is used to render a column when no other specific method exists for that column. When WP_List_Tables attempts to render your columns (within single_row_columns()), it first checks for a column-specific method. If none exists, it defaults to this method instead. This method accepts two arguments, a single $item array and the $column_name (as a slug).
- NOTICE: As of WordPress 3.5.1, in core $item is passed an Object, not an array.
Source
File: wp-admin/includes/class-wp-list-table.php. View all references
protected function column_default( $item, $column_name ) {}
Related
Used By
| Used By | Description |
|---|---|
| WP_List_Table::single_row_columns() wp-admin/includes/class-wp-list-table.php | Generates the columns for a single row of the table. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_list_table/column_default