File: wp-includes/class-wp-block-list.php
-
methodWP_Block_List::key()
Returns the key of the current element of the block list.
-
methodWP_Block_List::next()
Moves the current position of the block list to the next element.
-
methodWP_Block_List::valid()
Checks if current position is valid.
-
methodWP_Block_List::count()
Returns the count of blocks in the list.
-
methodWP_Block_List::current()
Returns the current element of the block list.
-
classWP_Block_List
Class representing a list of block instances.
-
Constructor.
-
Returns true if a block exists by the specified block offset, or false otherwise.
-
Returns the value by the specified block offset.
-
Assign a block value by the specified block offset.
-
Unset a block.
-
methodWP_Block_List::rewind()
Rewinds back to the first element of the Iterator.