?AlkantarClanX12
| Current Path : /home/r/a/n/rankinh/lynkandco/wp-content/plugins/nexteuv-plus/modules/footer/customizer/ |
| Current File : /home/r/a/n/rankinh/lynkandco/wp-content/plugins/nexteuv-plus/modules/footer/customizer/index.php |
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
if( !class_exists( 'NextEuvPlusCustomizerSiteFooter' ) ) {
class NextEuvPlusCustomizerSiteFooter {
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 NextEuv_Customize_Section(
$wp_customize,
'site-footer-section',
array(
'title' => esc_html__('Footer', 'nexteuv-plus'),
'panel' => 'site-general-main-panel',
'priority' => 20,
)
)
);
/**
* Option :Site Footer
*/
$wp_customize->add_setting(
NEXTEUV_CUSTOMISER_VAL . '[site_footer]', array(
'type' => 'option',
)
);
$wp_customize->add_control(
new NextEuv_Customize_Control(
$wp_customize, NEXTEUV_CUSTOMISER_VAL . '[site_footer]', array(
'type' => 'select',
'section' => 'site-footer-section',
'label' => esc_html__( 'Site Footer', 'nexteuv-plus' ),
'choices' => apply_filters( 'nexteuv_footer_layouts', array() ),
)
)
);
}
}
}
NextEuvPlusCustomizerSiteFooter::instance();