Parameters
$item
object|arrayrequired$column_name
stringrequired
Source
protected function column_default( $item, $column_name ) {}
CARVIEW |
$item
object|arrayrequired$column_name
stringrequiredThis 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.
protected function column_default( $item, $column_name ) {}
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. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.