WordPress at a glance
function is not described

get_dynamic_block_names() WP 5.0.0

Returns an array of the names of all registered dynamic block types.

No Hooks.

Return

Array. Array of dynamic block names.

Usage

get_dynamic_block_names();

Code of get dynamic block names: wp-includes/blocks.php VER 5.1.1

<?php
function get_dynamic_block_names() {
	$dynamic_block_names = array();

	$block_types = WP_Block_Type_Registry::get_instance()->get_all_registered();
	foreach ( $block_types as $block_type ) {
		if ( $block_type->is_dynamic() ) {
			$dynamic_block_names[] = $block_type->name;
		}
	}

	return $dynamic_block_names;
}