Merge pull request #1101 from IanDelMar/patch-1

Move action hook outside if
This commit is contained in:
UnderstrapFramework 2020-03-15 09:16:27 +00:00 committed by GitHub
commit 1f7327c7e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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' ) ) { if ( ! function_exists( 'understrap_add_site_info' ) ) {
add_action( 'understrap_site_info', 'understrap_add_site_info' );
/** /**
* Add site info content. * Add site info content.
*/ */