settings['name'] ?>
|
add_control( new TitanFrameworkOptionHeadingControl( $wp_customize, $this->getID(), array(
'label' => $this->settings['name'],
'section' => $section->settings['id'],
'type' => 'select',
'settings' => $this->getID(),
'description' => $this->settings['desc'],
'priority' => $priority,
) ) );
}
}
/*
* We create a new control for the theme customizer
*/
add_action( 'customize_register', 'registerTitanFrameworkOptionHeadingControl', 1 );
function registerTitanFrameworkOptionHeadingControl() {
class TitanFrameworkOptionHeadingControl extends WP_Customize_Control {
public $description;
public function render_content() {
?>label ); ?>description ) ) {
echo "" . $this->description . "
";
}
?>