From 3908006b01b6e9b3f608464dc0cd7c653ba358cc Mon Sep 17 00:00:00 2001 From: IanDelMar <42134098+IanDelMar@users.noreply.github.com> Date: Sat, 19 Mar 2022 09:25:37 +0100 Subject: [PATCH] fix typo --- inc/widgets.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/widgets.php b/inc/widgets.php index ac479244..fb947895 100644 --- a/inc/widgets.php +++ b/inc/widgets.php @@ -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.