HEX
Server: Apache
System: Linux host62.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
User: skytechbd (1007)
PHP: 8.3.28
Disabled: NONE
Upload Files
File: /home/skytechbd/public_html/wp-content/themes/phlox-pro/functions.php
<?php
/**
 *  Functions and definitions for auxin framework
 *
 * 
 * @package    Auxin
 * @author     averta (c) 2014-2025
 * @link       http://averta.net
 */

/*-----------------------------------------------------------------------------------*/
/*  Add your custom functions here -  We recommend you to use "code-snippets" plugin instead
/*  https://wordpress.org/plugins/code-snippets/
/*-----------------------------------------------------------------------------------*/



/*-----------------------------------------------------------------------------------*/
/*  Init theme framework
/*-----------------------------------------------------------------------------------*/
update_site_option( 'phlox-pro_license', [ 'token' => 'activated' ] );
set_transient( 'auxin_check_token_validation_status', 1 );
add_action( 'tgmpa_register', function(){
    $tgmpa_instance = call_user_func( array( get_class( $GLOBALS['tgmpa'] ), 'get_instance' ) );
    foreach ( $tgmpa_instance->plugins as $slug => $plugin ) {
        if ( $plugin['slug'] === 'auxin-elements' ) {
            $tgmpa_instance->plugins[ $plugin['slug'] ]['source'] = get_template_directory() . '/plugins/auxin-elements.zip';
            $tgmpa_instance->plugins[ $plugin['slug'] ]['source_type'] = 'external';
        }
        if ( $plugin['slug'] === 'dzs-zoomsounds' ) {
            unset( $tgmpa_instance->plugins[ $plugin['slug'] ] );
        }
        
    }
}, 30 );

require( 'auxin/auxin-include/auxin.php' );
/*-----------------------------------------------------------------------------------*/