Move action hook outside if

This commit is contained in:
IanDelMar 2019-12-19 23:05:22 +01:00 committed by GitHub
parent cbcb0dda56
commit b786f04859
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' ) ) {
add_action( 'understrap_site_info', 'understrap_add_site_info' );
/**
* Add site info content.
*/