block_default_classname

block_default_classname

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('block_default_classname') is found 1 times:

  • /wp-includes/block-supports/generated-classname.php line 36
    	 *
    	 * @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.