widget_block_dynamic_classname

widget_block_dynamic_classname

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('widget_block_dynamic_classname') is found 1 times:

  • /wp-includes/widgets/class-wp-widget-block.php line 167
    		 *                           e.g. 'widget_block widget_text'.
    		 * @param string $block_name The name of the block contained by the block widget,
    		 *                           e.g. 'core/paragraph'.
    		 */
    		return apply_filters( 'widget_block_dynamic_classname', $classname, $block_name );
    	}
    
    	/**
    	 * Handles updating settings for the current Block widget instance.
    	 *
    	 * @since 5.8.0
    

See this hook used in plugins: