WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about widget_block_dynamic_classname

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/widgets/class-wp-widget-block.php apply_filters 167 /**
* The classname used in the block widget's container HTML.
*
* This can be set according to the name of the block contained by the block widget.
*
* @since 5.8.0
*
* @param string $classname The classname to be used in the block widget's container HTML,
* e.g. 'widget_block widget_text'.
* @param string $block_name The name of the block contained by the block widget,
* e.g. 'core/paragraph'.
*/

Hook Parameters

Parameter Type Name Description
string $classname The classname to be used in the block widget's container HTML,
string $block_name The name of the block contained by the block widget,