Sindbad~EG File Manager

Current Path : /home/xiedrke/malino/wp-content/plugins/trendz-plus/modules/post/customizer/
Upload File :
Current File : /home/xiedrke/malino/wp-content/plugins/trendz-plus/modules/post/customizer/index.php

<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

if( !class_exists( 'TrendzPlusCustomizerBlogPost' ) ) {
    class TrendzPlusCustomizerBlogPost {

        private static $_instance = null;

        public static function instance() {
            if ( is_null( self::$_instance ) ) {
                self::$_instance = new self();
            }

            return self::$_instance;
        }

        function __construct() {
			add_action( 'customize_register', array( $this, 'register' ), 15 );
        }

        function register( $wp_customize ) {

            $wp_customize->add_section(
                new Trendz_Customize_Section(
                    $wp_customize,
                    'site-blog-post-section',
                    array(
                        'title'    => esc_html__('Single Post', 'trendz-plus'),
                        'panel'    => 'site-blog-main-panel',
                        'priority' => 20,
                    )
                )
            );

			if ( ! defined( 'TRENDZ_PRO_VERSION' ) ) {
				$wp_customize->add_control(
					new Trendz_Customize_Control_Separator(
						$wp_customize, TRENDZ_CUSTOMISER_VAL . '[trendz-plus-site-single-blog-separator]',
						array(
							'type'        => 'wdt-separator',
							'section'     => 'site-blog-post-section',
							'settings'    => array(),
							'caption'     => TRENDZ_PLUS_REQ_CAPTION,
							'description' => TRENDZ_PLUS_REQ_DESC,
						)
					)
				);
			}

        }
    }
}

TrendzPlusCustomizerBlogPost::instance();

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists