From 6678261a81528f0f5c39b97b1f2dcf9e918e345e Mon Sep 17 00:00:00 2001 From: IanDelMar <42134098+IanDelMar@users.noreply.github.com> Date: Tue, 7 Aug 2018 21:39:03 +0200 Subject: [PATCH] Fix function_exists & parenthesis * Fixed function_exists checking the wrong function * Added missing parenthesis --- inc/hooks.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/hooks.php b/inc/hooks.php index 5f21182..e63a9d6 100644 --- a/inc/hooks.php +++ b/inc/hooks.php @@ -5,7 +5,7 @@ * @package understrap */ -if ( ! function_exists( 'understrap_add_site_info' ) ) { +if ( ! function_exists( 'understrap_site_info' ) ) { /** * Add site info hook to WP hook library. */ @@ -40,6 +40,6 @@ if ( ! function_exists( 'understrap_add_site_info' ) ) { ) ); - echo apply_filters( understrap_site_info_content, $site_info ); // WPCS: XSS ok. + echo apply_filters( 'understrap_site_info_content', $site_info ); // WPCS: XSS ok. } }