. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.216.168   [ Reverse IP ]
Web Server : Apache
System : Linux webm002.cluster127.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : eticmes ( 123698)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/eticmes/www/wp-content/plugins/the-events-calendar/common/src/Tribe/Admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/eticmes/www/wp-content/plugins/the-events-calendar/common/src/Tribe/Admin/Settings.php
<?php

namespace Tribe\Admin;

/**
 * Admin Settings class.
 *
 * @since 5.0.0
 */

class Settings {

    /**
     * Loaded image field assets if not already loaded.
     *
     * @since 5.0.0
     *
     * @return void
     */
    public function maybe_load_image_field_assets() {
        if ( has_filter( 'tec_admin_load_image_fields_assets', '__return_true' ) ) {
            return;
        }
        add_filter( 'tec_admin_load_image_fields_assets', '__return_true' );
    }

    /**
     * Logic to load image field assets.
     *
     * @since 5.0.0
     *
     * @return bool
     */
    public function should_load_image_field_assets() {
        /**
         * Filters whether or not we should load the image field assets on the settings page.
         *
         * @since 5.0.0
         *
         * @param boolean  $return  True or false whether to load image field assets.
         */
        $load_assets = apply_filters( 'tec_admin_load_image_fields_assets', false );
        if ( $load_assets ) {
            wp_enqueue_media();
        }
        return $load_assets;
    }

    /**
     * Load color field assets if not already loaded.
     *
     * @since 5.0.0
     *
     * @return void
     */
    public function maybe_load_color_field_assets() {
        if ( has_filter( 'tec_admin_load_color_field_assets', '__return_true' ) ) {
            return;
        }
        add_filter( 'tec_admin_load_color_field_assets', '__return_true' );
    }

    /**
     * Logic to load color field assets.
     *
     * @since 5.0.0
     *
     * @return bool
     */
    public function should_load_color_field_assets() {
        /**
         * Filters whether or not we should load the color field assets on the settings page.
         *
         * @since 5.0.0
         *
         * @param boolean  $return  True or false whether to load color field assets.
         */
        $load_assets = apply_filters( 'tec_admin_load_color_field_assets', false );
        return $load_assets;
    }

}

Anon7 - 2022
AnonSec Team