selective_refresh ) ? 'postMessage' : 'refresh';
$wp_customize->add_setting(
'consultstreet_footer_copright_text',
array(
'sanitize_callback' => 'brightpress_sanitize_text',
'default' => __('Copyright © 2026 | Powered by WordPress | BrightPress theme by ThemeArile', 'brightpress'),
'transport' => $selective_refresh,
)
);
$wp_customize->add_control('consultstreet_footer_copright_text', array(
'label' => esc_html__('Footer Copyright','brightpress'),
'section' => 'consultstreet_footer_copyright',
'priority' => 10,
'type' => 'textarea'
));
}
add_action( 'customize_register', 'brightpress_customizer_theme_settings' );
function brightpress_sanitize_text( $input ) {
return wp_kses_post( force_balance_tags( $input ) );
}