echoOptionHeader(); ?> echoOptionFooter( false ); } public function cleanValueForSaving( $value ) { return $value != '1' ? '0' : '1'; } public function cleanValueForGetting( $value ) { return $value == '1' ? true : false; } /* * Display for theme customizer */ public function registerCustomizerControl( $wp_customize, $section, $priority = 1 ) { $wp_customize->add_control( new TitanFrameworkCustomizeControl( $wp_customize, $this->getID(), array( 'label' => $this->settings['name'], 'section' => $section->settings['id'], 'settings' => $this->getID(), 'type' => 'checkbox', 'description' => $this->settings['desc'], 'priority' => $priority, ) ) ); } }