Server : LiteSpeed System : Linux server321.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : apotdzgr ( 7060) PHP Version : 8.0.30 Disable Function : NONE Directory : /home/apotdzgr/public_html/wp-content/themes/flatsome/inc/admin/envato_setup/ |
Upload File : |
<?php if ( ! defined( 'ABSPATH' ) ) exit; add_filter('envato_setup_logo_image','flatsome_envato_setup_logo_image'); function flatsome_envato_setup_logo_image($old_image_url){ return get_template_directory_uri().'/assets/img/logo.png'; } if ( ! function_exists( 'envato_theme_setup_wizard' ) ) : function envato_theme_setup_wizard() { if(class_exists('Envato_Theme_Setup_Wizard')) { class dtbwp_Envato_Theme_Setup_Wizard extends Envato_Theme_Setup_Wizard { /** * Holds the current instance of the theme manager * * @since 1.1.3 * @var Envato_Theme_Setup_Wizard */ private static $instance = null; /** * @since 1.1.3 * * @return Envato_Theme_Setup_Wizard */ public static function get_instance() { if ( ! self::$instance ) { self::$instance = new self; } return self::$instance; } } dtbwp_Envato_Theme_Setup_Wizard::get_instance(); }else{ // log error? } } endif;