'customize-dropdown-categories' . $this->id, 'echo' => 0, 'show_option_none' => esc_html__('— Select Category —', 'blockwp'), 'option_none_value' => '0', 'selected' => $this->value(), ) ); // Hackily add in the data link parameter. $blockwp_dropdown = str_replace('get_link(), $blockwp_dropdown); printf( '', $this->label, $this->description, $blockwp_dropdown ); } } /* Message Control*/ if (class_exists('WP_Customize_Control') && !class_exists('Blockwp_Customize_Message_Control')) : /** * Custom Control for html display * @subpackage * @since 1.0.0 * */ class Blockwp_Customize_Message_Control extends WP_Customize_Control { /** * Declare the control type. * @access public * @var string */ public $type = 'message'; /** * Function to render the content on the theme customizer page * * @access public * @since 1.0.0 * * @param null * @return void * */ public function render_content() { if (empty($this->description)) { return; } $allowed_html = array( 'a' => array( 'href' => array(), 'title' => array(), 'data-section' => array(), 'data-panel' => array(), 'class' => array(), 'target' => array(), ), 'hr' => array(), 'br' => array(), 'em' => array(), 'strong' => array(), ); ?>
description, $allowed_html) ?>