WP_Block_List::next()publicWP 5.5.0ReturnTypeWillChange

Moves the current position of the block list to the next element.

Method of the class: WP_Block_List{}

No Hooks.

Return

null. Nothing (null).

Usage

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

Changelog

Since 5.5.0 Introduced.

WP_Block_List::next() code WP 6.5.2

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