views/noticias/wp-content/themes/supermag/acmethemes/customizer/custom-controls.php
/**

         * Function to  render the content on the theme customizer page

         *

         * @access public

         * @since 1.0.0

         *

         * @param null

         * @return void

         *

         */
Function to  render the content on the theme customizer page



@param null
@return void
Function to render the content on the theme customizer page @param null @return void
public function render_content() {
            $supermag_customizer_name = 'supermag_customizer_dropdown_categories_' . $this->id;;
            $supermag_dropdown_categories = wp_dropdown_categories(
                array(
                    'name'              => $supermag_customizer_name,
                    'echo'              => 0,
                    'show_option_none'  =>__('Select','supermag'),
                    'option_none_value' => '0',
                    'selected'          => $this->value(),
                )
            );
            $supermag_dropdown_final = str_replace( '<select', '<select ' . $this->get_link(), $supermag_dropdown_categories );
            printf(
                '<label><span class="customize-control-title">%s</span> %s</label>',
                $this->label,
                $supermag_dropdown_final
            );
        }
public function render_content ( ) { $ supermag_customizer_name = 'supermag_customizer_dropdown_categories_' . $ this -> id ; ; $ supermag_dropdown_categories = wp_dropdown_categories ( array ( 'name' => $ supermag_customizer_name , 'echo' => 0 , 'show_option_none' => __ ( 'Select' , 'supermag' ) , 'option_none_value' => '0' , 'selected' => $ this -> value ( ) , ) ) ; $ supermag_dropdown_final = str_replace ( '<select' , '<select ' . $ this -> get_link ( ) , $ supermag_dropdown_categories ) ; printf ( '<label><span class="customize-control-title">%s</span> %s</label>' , $ this -> label , $ supermag_dropdown_final ) ; }
Function to  render the content on the theme customizer page
Function to render the content on the theme customizer page