WP_Block_List::count()publicWP 1.0

[ReturnTypeWillChange]

Method of the class: WP_Block_List{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Block_List = new WP_Block_List();
$WP_Block_List->count();

WP_Block_List::count() code WP 6.1.1

public function count() {
	return count( $this->blocks );
}