Sindbad~EG File Manager

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

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

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

        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-footer-section',
                    array(
                        'title'    => esc_html__('Footer', 'trendz-plus'),
                        'panel'    => 'site-general-main-panel',
                        'priority' => 20,
                    )
                )
            );

                /**
                 * Option :Site Footer
                 */
                $wp_customize->add_setting(
                    TRENDZ_CUSTOMISER_VAL . '[site_footer]', array(
                        'type'    => 'option',
                    )
                );

                $wp_customize->add_control(
                    new Trendz_Customize_Control(
                        $wp_customize, TRENDZ_CUSTOMISER_VAL . '[site_footer]', array(
                            'type'    => 'select',
                            'section' => 'site-footer-section',
                            'label'   => esc_html__( 'Site Footer', 'trendz-plus' ),
                            'choices' => apply_filters( 'trendz_footer_layouts', array() ),
                        )
                    )
                );

        }
    }
}

TrendzPlusCustomizerSiteFooter::instance();

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