WP_Block_List::current
Returns the current element of the block list.
Method of the class: WP_Block_List{}
No Hooks.
Returns
WP_Block|null. Current element.
Usage
$WP_Block_List = new WP_Block_List(); $WP_Block_List->current();
Changelog
| Since 5.5.0 | Introduced. |
WP_Block_List::current() WP Block List::current code WP 6.9.1
public function current() {
return $this->offsetGet( $this->key() );
}