add_section('automobile_repair_blocks_pro', array( 'title' => __('AUTOMOBILE REPAIR PREMIUM', 'automobile-repair-blocks'), 'priority' => 1, )); $wp_customize->add_setting('automobile_repair_blocks_pro', array( 'default' => null, 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new Automobile_Repair_Blocks_Pro_Control($wp_customize, 'automobile_repair_blocks_pro', array( 'label' => __('AUTOMOBILE REPAIR PREMIUM', 'automobile-repair-blocks'), 'section' => 'automobile_repair_blocks_pro', 'settings' => 'automobile_repair_blocks_pro', 'priority' => 1, ))); } add_action( 'customize_register', 'automobile_repair_blocks_customize_register' ); define('AUTOMOBILE_REPAIR_BLOCKS_PRO_LINK',__('https://www.ovationthemes.com/products/car-repair-wordpress-theme','automobile-repair-blocks')); define('AUTOMOBILE_REPAIR_BLOCKS_BUNDLE_BTN',__('https://www.ovationthemes.com/products/wordpress-bundle','automobile-repair-blocks')); /* Pro control */ if (class_exists('WP_Customize_Control') && !class_exists('Automobile_Repair_Blocks_Pro_Control')): class Automobile_Repair_Blocks_Pro_Control extends WP_Customize_Control{ public function render_content(){?>