?AlkantarClanX12

Your IP : 216.73.217.134


Current Path : /home/rankinh/lynkandco/wp-content/plugins/nexteuv-plus/modules/404/customizer/
Upload File :
Current File : /home/rankinh/lynkandco/wp-content/plugins/nexteuv-plus/modules/404/customizer/index.php

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

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

        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 ) {

            /**
             * 404 Page
             */
            $wp_customize->add_section(
                new NextEuv_Customize_Section(
                    $wp_customize,
                    'site-404-page-section',
                    array(
                        'title'    => esc_html__('404 Page', 'nexteuv-plus'),
                        'priority' => nexteuv_customizer_panel_priority( '404' )
                    )
                )
            );

            if ( ! defined( 'NEXTEUV_PRO_VERSION' ) ) {
                $wp_customize->add_control(
                    new NextEuv_Customize_Control_Separator(
                        $wp_customize, NEXTEUV_CUSTOMISER_VAL . '[nexteuv-plus-site-404-separator]',
                        array(
                            'type'        => 'wdt-separator',
                            'section'     => 'site-404-page-section',
                            'settings'    => array(),
                            'caption'     => NEXTEUV_PLUS_REQ_CAPTION,
                            'description' => NEXTEUV_PLUS_REQ_DESC,
                        )
                    )
                );
            }

        }

    }
}

NextEuvPlusCustomizerSite404::instance();