Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /home/claqxcrl/confenda.com/wp-content/themes/the-conference/inc/custom-controls/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/claqxcrl/confenda.com/wp-content/themes/the-conference/inc/custom-controls/custom-control.php
<?php
/**
 * The Conference Custom Control
 * 
 * @package The Conference
*/

if( ! function_exists( 'the_conference_register_custom_controls' ) ) :
/**
 * Register Custom Controls
*/
function the_conference_register_custom_controls( $wp_customize ){    
    // Load our custom control.
    require_once get_template_directory() . '/inc/custom-controls/note/class-note-control.php';
    require_once get_template_directory() . '/inc/custom-controls/radioimg/class-radio-image-control.php';
    require_once get_template_directory() . '/inc/custom-controls/select/class-select-control.php';
    require_once get_template_directory() . '/inc/custom-controls/slider/class-slider-control.php';
    require_once get_template_directory() . '/inc/custom-controls/toggle/class-toggle-control.php';    
            
    // Register the control type.
    $wp_customize->register_control_type( 'The_Conference_Radio_Image_Control' );
    $wp_customize->register_control_type( 'The_Conference_Select_Control' );
    $wp_customize->register_control_type( 'The_Conference_Slider_Control' );
    $wp_customize->register_control_type( 'The_Conference_Toggle_Control' );
}
endif;
add_action( 'customize_register', 'the_conference_register_custom_controls' );

ZeroDay Forums Mini