HEX
Server: LiteSpeed
System: Linux srv271.doctorhoster.com 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64
User: lcipakco (2751)
PHP: 8.3.32
Disabled: show_source, system, shell_exec, passthru, exec, popen, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, escapeshellcmd, apache_child_terminate, virtual, mb_send_mail, mail, eval, phpinfo
Upload Files
File: /mnt/home/lcipakco/public_html/wp-content/themes/convis/functions.php
<?php
/**
 * Convis functions and definitions
 *
 * @link https://developer.wordpress.org/themes/basics/theme-functions/
 *
 * @package Convis
 */

/**
 * Define constant
 */
$theme   = wp_get_theme();
$name    = $theme->parent() == false ? wp_get_theme()->get( 'Name' ) : wp_get_theme()->parent()->get( 'Name' );
$version = $theme->parent() == false ? wp_get_theme()->get( 'Version' ) : wp_get_theme()->parent()->get( 'Version' );

define( 'CONVIS_NAME', $name );
define( 'CONVIS_VERSION', $version );
define( 'CONVIS_PATH', untrailingslashit( get_template_directory() ) );
define( 'CONVIS_URI', untrailingslashit( get_template_directory_uri() ) );
define( 'CONVIS_ASSETS', untrailingslashit( get_template_directory_uri() ) . '/assets' );
define( 'CONVIS_VENDOR', untrailingslashit( get_template_directory_uri() ) . '/assets/vendor' );
define( 'CONVIS_INCLUDES', CONVIS_PATH . '/includes' );
define( 'CONVIS_CLASSES', CONVIS_PATH . '/includes/classes' );
define( 'CONVIS_ADMIN', CONVIS_PATH . '/includes/admin' );
define( 'CONVIS_IS_RTL', is_rtl() ? true : false );

/**
 * Load theme files
 */
require_once CONVIS_CLASSES . '/class-setup.php';
require_once CONVIS_CLASSES . '/class-helper.php';
require_once CONVIS_CLASSES . '/class-assets.php';
require_once CONVIS_CLASSES . '/class-post-helper.php';
require_once CONVIS_CLASSES . '/class-comment-walker.php';
require_once CONVIS_CLASSES . '/class-breadcrumb.php';
require_once CONVIS_ADMIN . '/class-admin-panel.php';
require_once CONVIS_INCLUDES . '/library/class-tgm-plugin-activation.php';
require_once CONVIS_INCLUDES . '/library/required-plugin.php';

if ( class_exists( 'Woocommerce' ) ) {
	require_once CONVIS_CLASSES . '/class-woocommerce.php';
}