| Server IP : 212.114.33.6 / Your IP : 216.73.217.30 Web Server : Apache System : Linux ger18 6.12.94+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.94-1 (2026-06-20) x86_64 User : immotrainerde ( 2287) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /srv/www/immotrainerde/htdocs/wp-content/plugins/thrive-apprentice/ |
Upload File : |
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-apprentice
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
require_once __DIR__ . '/vendor/autoload.php';
global $tva_checkout;
$tva_checkout = new TVA_Checkout();
new TVA_Thankyou();
/**
* 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' );
// Fix for PHP 5.2<=
if ( ! defined( 'JSON_OBJECT_AS_ARRAY' ) ) {
define( 'JSON_OBJECT_AS_ARRAY', 1 );
}
$tcb_file_exists = file_exists( dirname( __DIR__ ) . '/thrive-visual-editor/thrive-visual-editor.php' );
$tcb_plugin_active = is_plugin_active( 'thrive-visual-editor/thrive-visual-editor.php' );
if ( false === $tcb_file_exists || false === $tcb_plugin_active ) {
require_once __DIR__ . '/tcb-bridge/init.php';
}