MOON
Server: Apache
System: Linux vps.erhabenn.com.br 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User: machen (1008)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /disk001/machen/www/support/wp-content/themes/wp-moose/inc/customizer/sections/preloader.php
<?php

if ( ! function_exists( 'wp_moose_register_preloader_options' ) ) {
	/**
	 * Add preloader options and controls.
	 *
	 * @param \WP_Customize_Manager $wp_customize
	 * @param string $section_id
	 * @param int $priority
	 */
	function wp_moose_register_preloader_options( $wp_customize, $section_id, $priority = 100 ) {

		$wp_customize->add_section( $section_id, array(
			'title'    => esc_html__( 'Preloader Settings', 'wp-moose' ),
			'panel'    => '',
			'priority' => $priority,
		) );

		wp_moose_register_options( $wp_customize, array(
			'name'           => 'wp_moose_disable_preloader',
			'label'          => esc_html__( 'Disable Preloader', 'wp-moose' ),
			'section'        => $section_id,
			'custom_control' => Moose_Switch_Customize_Control::class,
		) );
	}
}