WP_Block_List::current()publicWP 5.5.0ReturnTypeWillChange

Returns the current element of the block list.

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

Хуков нет.

Возвращает

Разное. Current element.

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

$WP_Block_List = new WP_Block_List();
$WP_Block_List->current();

Список изменений

С версии 5.5.0 Введена.

Код WP_Block_List::current() WP 6.5.2

public function current() {
	return $this->offsetGet( $this->key() );
}