type) { case 'textarea': echo '
'; echo 'PRO'; ?> '; break; case 'text': echo '
'; echo 'PRO'; ?> '; break; case 'checkbox': echo '
'; echo 'PRO'; ?> '; break; } // end SWITCH statement } } } /** * Customize for Numbers, extend the WP customizer * *@since Pixova Lite 1.0.0 */ if( !class_exists( 'Pixova_Lite_Number_Custom_Control' ) ) { class Pixova_Lite_Number_Custom_Control extends WP_Customize_Control { public $type = 'number'; public function render_content() { ?> active_callback()) { $cf7 = $wpdb->get_results("SELECT ID, post_title FROM $wpdb->posts WHERE post_type = 'wpcf7_contact_form' "); if ($cf7) { foreach ($cf7 as $cform) { $contact_forms[$cform->ID] = $cform->post_title; } } else { $contact_forms[0] = __('No contact forms found', 'pixova-lite'); } } return $contact_forms; } public function render_content() { $Pixova_Lite_contact_forms = $this->pixova_lite_get_cf7_forms(); if (!empty($Pixova_Lite_contact_forms) ) { ?> label); ?> '; } } } } /** * Customize for premium features, extend the WP Customizer * * @since Pixova Lite 1.0.0 */ if( !class_exists( 'Pixova_Lite_Theme_Support' ) ) { class Pixova_Lite_Theme_Support extends WP_Customize_Control { public function render_content() { ?>