From b786f04859b9a3b0547f8933c64b4a2794812049 Mon Sep 17 00:00:00 2001 From: IanDelMar <42134098+IanDelMar@users.noreply.github.com> Date: Thu, 19 Dec 2019 23:05:22 +0100 Subject: [PATCH] Move action hook outside if --- inc/hooks.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inc/hooks.php b/inc/hooks.php index 6aaa570..a3f854d 100644 --- a/inc/hooks.php +++ b/inc/hooks.php @@ -17,9 +17,8 @@ if ( ! function_exists( 'understrap_site_info' ) ) { } } +add_action( 'understrap_site_info', 'understrap_add_site_info' ); if ( ! function_exists( 'understrap_add_site_info' ) ) { - add_action( 'understrap_site_info', 'understrap_add_site_info' ); - /** * Add site info content. */