output customizer understrap_site_info override.

This commit is contained in:
Gabriel Castillo 2021-08-23 18:09:55 -07:00
parent cb8b417053
commit e5bee1e633
1 changed files with 7 additions and 1 deletions

View File

@ -46,6 +46,12 @@ if ( ! function_exists( 'understrap_add_site_info' ) ) {
)
);
echo apply_filters( 'understrap_site_info_content', $site_info ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
//Check if customizer site info has value
if ( get_theme_mod('understrap_site_info_override') ) {
echo get_theme_mod('understrap_site_info_override');
} else {
echo apply_filters( 'understrap_site_info_content', $site_info ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
}
}