- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
42 lines
1.2 KiB
PHP
Executable File
42 lines
1.2 KiB
PHP
Executable File
<?php
|
|
/**
|
|
* Plugin Name: Thrive Ultimatum
|
|
* Plugin URI: https://thrivethemes.com
|
|
* Version: 10.6
|
|
* Author: <a href="https://thrivethemes.com">Thrive Themes</a>
|
|
* 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';
|
|
}
|