Returns the current element of the block list.
WP_Block_List::key
Returns the key of the current element of the block list.
WP_Block_List::next
Moves the current position of the block list to the next element.
WP_Block_List::valid
Checks if current position is valid.
Advertisement
WP_Block_List::count
Returns the count of blocks in the list.
WP_Block_List
Class representing a list of block instances.
WP_Block_List::__construct
Constructor.
WP_Block_List::offsetExists
Returns true if a block exists by the specified block index, or false otherwise.
Advertisement
WP_Block_List::offsetGet
Returns the value by the specified block index.
WP_Block_List::offsetSet
Assign a block value by the specified block index.
WP_Block_List::offsetUnset
Unset a block.
WP_Block_List::rewind
Rewinds back to the first element of the Iterator.