wpseek.com
A WordPress-centric search engine for devs and theme authors
widget_block_dynamic_classname › WordPress Filter Hooks
Since5.8.0
Deprecatedn/a
› apply_filters( 'widget_block_dynamic_classname', $classname, $block_name )
Parameters: (2) |
|
Defined at: | |
Codex: |
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.
Related Functions: wp_get_block_default_classname, get_body_class, get_dynamic_block_names, wp_render_block_style_variation_class_name, wp_get_elements_class_name, wp_widgets_access_body_class