HEX
Server: Apache
System: Linux VM-16-7-centos 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64
User: www (1000)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/www.molinta.com/wp-content/themes/context-blog/inc/dropdown-category.php
<?php
/**
 * This template to show dropdown category list
 *
 * @package context-blog
 */

if ( ! class_exists( 'context_blog_My_Dropdown_Category_Control' ) ) :
	class context_blog_My_Dropdown_Category_Control extends WP_Customize_Control {


		public $type = 'dropdown-category';

		protected $dropdown_args = false;

		protected function render_content() {
			?><label>
			<?php

			if ( ! empty( $this->label ) ) :
				?>
	<span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span>
				<?php
endif;

			if ( ! empty( $this->description ) ) :
				?>
	<span class="description customize-control-description"><?php echo esc_html( $this->description ); ?></span>
				<?php
endif;

			$dropdown_args = wp_parse_args(
				$this->dropdown_args,
				array(
					'taxonomy'          => 'category',
					'show_option_all'   => __( 'Among all the categories', 'context-blog' ),
					'orderby'           => 'name',
					'order'             => 'ASC',
					'show_count'        => 1,
					'hide_empty'        => 1,
					'echo'              => 1,
					'child_of'          => 0,
					'exclude'           => '',
					'hierarchical'      => 1,
					'id'                => $this->id,
					'depth'             => 0,
					'tab_index'         => 0,
					'hide_if_empty'     => false,
					'option_none_value' => 0,
					'value_field'       => 'term_id',
				)
			);

			$dropdown_args['echo'] = false;

			$dropdown = wp_dropdown_categories( $dropdown_args );
			$dropdown = str_replace( '<select', '<select ' . $this->get_link(), $dropdown );
			echo ( $dropdown );

			?>
			</label>
			<?php

		}
	}
endif;