Thrive Themes * Description: The ultimate scarcity plugin for WordPress * Text Domain: thrive-ult * Requires PHP: 7.4 * Requires at least: 6.5 */ define( 'TVE_ULT_PLUGIN__FILE__', __FILE__ ); require_once rtrim( dirname( __FILE__ ), '/\\' ) . '/class-tve-ult-const.php'; /** * This helps to display the errors on ajax requests too */ if ( defined( 'TVE_DEBUG' ) && TVE_DEBUG === true ) { ini_set( 'display_errors', 1 ); } /** * At this point we need to either hook into an existing Content Builder plugin or use the copy we store in the tcb folder */ include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); if ( ! file_exists( dirname( dirname( __FILE__ ) ) . '/thrive-visual-editor/thrive-visual-editor.php' ) || ! is_plugin_active( 'thrive-visual-editor/thrive-visual-editor.php' ) ) { include_once TVE_Ult_Const::plugin_path() . 'tcb-bridge/init.php'; } /** * Bootstrap everything */ require_once TVE_Ult_Const::plugin_path() . 'start.php'; /** * Admin entry point */ if ( is_admin() ) { require_once TVE_Ult_Const::plugin_path() . 'admin/start.php'; }