add_section('author_book_writer_pro', array( 'title' => __('AUTHOR BOOK WRITER PREMIUM', 'author-book-writer'), 'priority' => 1, )); $wp_customize->add_setting('author_book_writer_pro', array( 'default' => null, 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control(new Author_Book_Writer_Pro_Control($wp_customize, 'author_book_writer_pro', array( 'label' => __('AUTHOR BOOK WRITER PREMIUM', 'author-book-writer'), 'section' => 'author_book_writer_pro', 'settings' => 'author_book_writer_pro', 'priority' => 1, ))); } add_action( 'customize_register', 'author_book_writer_customize_register' ); define('AUTHOR_BOOK_WRITER_PRO_LINK',__('https://www.ovationthemes.com/products/author-wordpress-theme','author-book-writer')); define('AUTHOR_BOOK_WRITER_BUNDLE_BTN',__('https://www.ovationthemes.com/products/wordpress-bundle','author-book-writer')); /* Pro control */ if (class_exists('WP_Customize_Control') && !class_exists('Author_Book_Writer_Pro_Control')): class Author_Book_Writer_Pro_Control extends WP_Customize_Control{ public function render_content(){?>