Filter hook 'block_default_classname'

in WP Core File wp-includes/block-supports/generated-classname.php at line 36

Description

Filters the default block className for server rendered blocks.

Occurrences

Filename Line Number
wp-includes/block-supports/generated-classname.php 36

Parameters

Type Name Description
string $class_name The current applied classname.
string $block_name The block name.

PHP Doc

/**
	 * Filters the default block className for server rendered blocks.
	 *
	 * @since 5.6.0
	 *
	 * @param string $class_name The current applied classname.
	 * @param string $block_name The block name.
	 */