From 9d4123cee1867ee7199b06bdc92d40611f547ecc Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Wed, 21 Jul 2021 14:54:07 -0500 Subject: Initial unmodified import from Astra (Version: 3.6.5) @ /wp-content/themes/astra/. --- functions.php | 174 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 174 insertions(+) create mode 100644 functions.php (limited to 'functions.php') diff --git a/functions.php b/functions.php new file mode 100644 index 0000000..39da06e --- /dev/null +++ b/functions.php @@ -0,0 +1,174 @@ +=' ) ) { + 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'; -- cgit v1.2.3-60-g2f50