This commit is contained in:
IanDelMar 2022-03-19 09:25:37 +01:00
parent 74e6cfb54b
commit 3908006b01
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ defined( 'ABSPATH' ) || exit;
* @param array $block The full block, including name and attributes.
* @return string The filtered block content.
*/
function understap_add_block_widget_search_classes( $block_content, $block ) {
function understrap_add_block_widget_search_classes( $block_content, $block ) {
$search = array(
'wp-block-search__input ',
@ -42,7 +42,7 @@ function understap_add_block_widget_search_classes( $block_content, $block ) {
return str_replace( $search, $replace, $block_content );
}
add_filter( 'render_block_core/search', 'understap_add_block_widget_search_classes', 10, 2 );
add_filter( 'render_block_core/search', 'understrap_add_block_widget_search_classes', 10, 2 );
/**
* Add filter to the parameters passed to a widget's display callback.