So far I couldn't figure out how to rename a customizer control. I can rename sections, but cannot find a way to controls. I would like to rename the default Tagline control to Site Description.

Any idea?


I got it:

$wp_customize->get_control('blogdescription')->label = esc_html__( 'Site Description', 'textdomain' );

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.