WP_Block_List::key

Advertisement

Summery Summery

Returns the key of the current element of the block list.

Syntax Syntax

WP_Block_List::key()

Return Return

(mixed) Key of the current element.

Source Source

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

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

Advertisement

Changelog Changelog

Changelog
Version Description
5.5.0 Introduced.

Advertisement

Leave a Reply