ActionScheduler_Abstract_ListTable::column_cb()
Renders the checkbox for each row, this is the first column and it is named ID regardless of how the primary key is named (to keep the code simpler). The bulk actions will do the proper name transformation though using $this->ID.
Method of the class: ActionScheduler_Abstract_ListTable{}
No Hooks.
Return
null
. Nothing (null).
Usage
$ActionScheduler_Abstract_ListTable = new ActionScheduler_Abstract_ListTable(); $ActionScheduler_Abstract_ListTable->column_cb( $row );
- $row(array) (required)
- The row to render.
ActionScheduler_Abstract_ListTable::column_cb() ActionScheduler Abstract ListTable::column cb code WC 8.7.0
public function column_cb( $row ) { return '<input name="ID[]" type="checkbox" value="' . esc_attr( $row[ $this->ID ] ) . '" />'; }