ActionScheduler_Abstract_ListTable::set_items()protectedWC 1.0

Set the data for displaying. It will attempt to unserialize (There is a chance that some columns are serialized). This can be override in child classes for futher data transformation.

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

Хуков нет.

Возвращает

null. Ничего (null).

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->set_items( $items );
$items(массив) (обязательный)
Items array.

Код ActionScheduler_Abstract_ListTable::set_items() WC 8.7.0

protected function set_items( array $items ) {
	$this->items = array();
	foreach ( $items as $item ) {
		$this->items[ $item[ $this->ID ] ] = array_map( 'maybe_unserialize', $item );
	}
}