WordPress at a glance
function is not described

WP_Block_List::current() public WP 5.5.0

Returns the current element of the block list.

{} It's a method of the class: WP_Block_List{}

No Hooks.

Return

Mixed. Current element.

Usage

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

Changelog

Since 5.5.0 Introduced.

Code of WP_Block_List::current() WP 5.5.1

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