diff --git a/functions.php b/functions.php index fba42e1ef1..15049060d2 100644 --- a/functions.php +++ b/functions.php @@ -31,6 +31,11 @@ update_option('stylesheet', $stylesheet . '/templates'); } }); +add_action('customize_render_section', function ($section) { + if ($section->type === 'themes') { + $section->title = wp_get_theme(basename(__DIR__))->display('Name'); + } +}, 10, 2); /** * Sage includes