Used By
Used By | Description |
---|---|
wp-includes/class-wp-block-list.php: WP_Block_List::current() | Returns the current element of the block list. |
Returns the key of the current element of the block list.
(mixed) Key of the current element.
File: wp-includes/class-wp-block-list.php
public function key() { return key( $this->blocks ); }
Version | Description |
---|---|
5.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_block_list/key