selective_refresh ) ? 'postMessage' : 'refresh'; $wp_customize->add_setting( 'arilewp_footer_copright_text', array( 'sanitize_callback' => 'architecto_sanitize_text', 'default' => __('Copyright © 2023 | Powered by WordPress | Architecto theme by ThemeArile', 'architecto'), 'transport' => $selective_refresh, ) ); $wp_customize->add_control('arilewp_footer_copright_text', array( 'label' => esc_html__('Footer Copyright','architecto'), 'section' => 'arilewp_footer_copyright', 'priority' => 10, 'type' => 'textarea' )); } add_action( 'customize_register', 'architecto_customizer_theme_settings' ); function architecto_sanitize_text( $input ) { return wp_kses_post( force_balance_tags( $input ) ); } /** * Menu */ function architecto_custom_menu_script() { $custom_logo = get_theme_mod( 'custom_logo' ); if(display_header_text()== true && $custom_logo != null && get_bloginfo( 'title' ) !== '' ){ $toggle_value = 1; }else{ $toggle_value = 0; } ?>