diff --git a/functions.php b/functions.php index fba42e1..1504906 100644 --- a/functions.php +++ b/functions.php @@ -31,6 +31,11 @@ add_action('after_switch_theme', function () { 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