NOX-ROOT-MARAZ Manager v2
PHP 8+ Secure
/
home
/
xiedrke
/
malino
/
wp-content
/
plugins
/
trendz-plus
/
modules
/
footer
/
customizer
/
Name
Size
Perms
Actions
📄 index.php
1,968 B
0644
Edit
|
Chmod
|
Delete
Editing: 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();
Cancel