Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the video-embed-thumbnail-generator domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/divine/public_html/wp-includes/functions.php on line 6131
/**
* Note: This file may contain artifacts of previous malicious infection.
* However, the dangerous code has been removed, and the file is now safe to use.
*/
/**
* Hestia functions and definitions
*
* @package Hestia
* @since Hestia 1.0
*/
define( 'HESTIA_VERSION', '3.3.3' );
define( 'HESTIA_VENDOR_VERSION', '1.0.2' );
define( 'HESTIA_PHP_INCLUDE', trailingslashit( get_template_directory() ) . 'inc/' );
define( 'HESTIA_ASSETS_URL', trailingslashit( get_template_directory_uri() ) . 'assets/' );
define( 'HESTIA_CORE_DIR', HESTIA_PHP_INCLUDE . 'core/' );
define( 'HESTIA_PRODUCT_SLUG', basename( trailingslashit( get_template_directory() ) ) );
if ( ! defined( 'HESTIA_DEBUG' ) ) {
define( 'HESTIA_DEBUG', false );
}
// Load hooks
require_once( HESTIA_PHP_INCLUDE . 'hooks/hooks.php' );
// Load Helper Globally Scoped Functions
require_once( HESTIA_PHP_INCLUDE . 'helpers/sanitize-functions.php' );
require_once( HESTIA_PHP_INCLUDE . 'helpers/layout-functions.php' );
if ( class_exists( 'WooCommerce', false ) ) {
require_once( HESTIA_PHP_INCLUDE . 'compatibility/woocommerce/functions.php' );
}
if ( function_exists( 'max_mega_menu_is_enabled' ) ) {
require_once( HESTIA_PHP_INCLUDE . 'compatibility/max-mega-menu/functions.php' );
}
// Load starter content
require_once( HESTIA_PHP_INCLUDE . 'compatibility/class-hestia-starter-content.php' );
/**
* Adds notice for PHP < 5.3.29 hosts.
*/
function hestia_no_support_5_3() {
$message = __( 'Hey, we\'ve noticed that you\'re running an outdated version of PHP which is no longer supported. Make sure your site is fast and secure, by upgrading PHP to the latest version.', 'hestia' );
printf( '