WP_Block_List::valid()
Checks if current position is valid.
Source
File: wp-includes/class-wp-block-list.php
public function valid() { return null !== key( $this->blocks ); }
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_block_list/valid