ActionScheduler_Abstract_ListTable::column_cb()publicWC 1.0

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.

Метод класса: ActionScheduler_Abstract_ListTable{}

Хуков нет.


null. Ничего.


$ActionScheduler_Abstract_ListTable = new ActionScheduler_Abstract_ListTable();
$ActionScheduler_Abstract_ListTable->column_cb( $row );
$row(массив) (обязательный)
The row to render.

Код ActionScheduler_Abstract_ListTable::column_cb() WC 7.7.0

public function column_cb( $row ) {
	return '<input name="ID[]" type="checkbox" value="' . esc_attr( $row[ $this->ID ] ) . '" />';