WP_Block_List::rewind()publicWP 5.5.0ReturnTypeWillChange

Rewinds back to the first element of the Iterator.

Method of the class: WP_Block_List{}

No Hooks.

Return

null. Nothing (null).

Usage

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

Changelog

Since 5.5.0 Introduced.

WP_Block_List::rewind() code WP 6.5.2

public function rewind() {
	reset( $this->blocks );
}