wp_customize changing $args (label, input_attrs, …) in child
-
I as a non-PHP affine code manipulator are looking to change values defined in the main theme trough a child theme – I suppose in the functions.php
For example:$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'link_color', array( 'label' => __( 'Header Color', 'mytheme' ), 'section' => 'your_section_id', 'settings' => 'your_setting_id', ) ) );
How can I change the ‘label’ value in the child?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘wp_customize changing $args (label, input_attrs, …) in child’ is closed to new replies.