WP_Block_List::current()

Returns the current element of the block list.

Return

(mixed) Current element.

Source

File: wp-includes/class-wp-block-list.php

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

Changelog

Version Description
5.5.0 Introduced.