WP_Block_List::offsetUnset( int $offset )

In this article

Unset a block.

Parameters

$offsetintrequired
Offset of block value to unset.

Source

#[ReturnTypeWillChange]
public function offsetUnset( $offset ) {
	unset( $this->blocks[ $offset ] );
}

Changelog

VersionDescription
5.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.