HEX
Server: Apache
System: Linux nc-ph-4101.simplemoneygoals.com 5.14.0-503.21.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Jan 12 09:45:05 EST 2025 x86_64
User: dailygoldindex (1004)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/dailygoldindex/public_html/wp-content/themes/jnews/class/Asset/AssetAbstract.php
<?php
/**
 * @author : Jegtheme
 */
namespace JNews\Asset;

abstract class AssetAbstract
{
    public function get_asset_uri()
    {
        return apply_filters('jnews_get_asset_uri', get_parent_theme_file_uri('assets/'));
    }

    public function get_theme_version()
    {
        $theme = wp_get_theme();
        return $theme->get('Version');
    }

    public function is_login_page()
    {
        return in_array($GLOBALS['pagenow'], array('wp-login.php', 'wp-register.php'));
    }
}