WP_Block_List::current

Advertisement

Summery Summery

Returns the current element of the block list.

Syntax Syntax

WP_Block_List::current()

Return Return

(mixed) Current element.

Source Source

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

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

Advertisement

Changelog Changelog

Changelog
Version Description
5.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.