output customizer understrap_site_info override.
This commit is contained in:
parent
cb8b417053
commit
e5bee1e633
|
|
@ -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
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue