Filters the default block className for server rendered blocks.
$class_namestring$block_namestringwp-includes/block-supports/generated-classname.php:36wp_get_block_default_classname() * * @since 5.6.0 * * @param string $class_name The current applied classname. * @param string $block_name The block name. */ $classname = apply_filters( 'block_default_classname', $classname, $block_name ); return $classname;} /** * Adds the generated classnames to the output.Introduced in 5.6.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.