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/claquemagazineawards.com/wp-content/themes/eventbell/inc/customizer/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/claqxcrl/claquemagazineawards.com/wp-content/themes/eventbell/inc/customizer/options.php
<?php 
/**
 * List of posts for post choices.
 * @return Array Array of post ids and name.
 */
function eventbell_post_choices() {
    $posts = get_posts( array( 'numberposts' => -1 ) );
    $choices = array();
    $choices[0] = esc_html__( '--Select--', 'eventbell' );
    foreach ( $posts as $post ) {
        $choices[ $post->ID ] = $post->post_title;
    }
    return  $choices;
}

if ( ! function_exists( 'eventbell_switch_options' ) ) :
    /**
     * List of custom Switch Control options
     * @return array List of switch control options.
     */
    function eventbell_switch_options() {
        $arr = array(
            'on'        => esc_html__( 'Enable', 'eventbell' ),
            'off'       => esc_html__( 'Disable', 'eventbell' )
        );
        return apply_filters( 'eventbell_switch_options', $arr );
    }
endif;

 ?>

ZeroDay Forums Mini