add_section('camera_rental_pro', array( 'title' => __('CAMERA RENTAL PREMIUM', 'camera-rental'), 'priority' => 1, )); $wp_customize->add_setting('camera_rental_pro', array( 'default' => null, 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new Camera_Rental_Pro_Control($wp_customize, 'camera_rental_pro', array( 'label' => __('CAMERA RENTAL PREMIUM', 'camera-rental'), 'section' => 'camera_rental_pro', 'settings' => 'camera_rental_pro', 'priority' => 1, ))); } add_action( 'customize_register', 'camera_rental_customize_register' ); define('CAMERA_RENTAL_PRO_LINK',__('https://www.ovationthemes.com/products/camera-rental-wordpress-theme','camera-rental')); define('CAMERA_RENTAL_BUNDLE_BTN',__('https://www.ovationthemes.com/products/wordpress-bundle','camera-rental')); /* Pro control */ if (class_exists('WP_Customize_Control') && !class_exists('Camera_Rental_Pro_Control')): class Camera_Rental_Pro_Control extends WP_Customize_Control{ public function render_content(){?>