| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: ZIP AI |
| 4 |
* Description: ZipWP's AI-powered content creation and management plugin for WordPress. |
| 5 |
* Author: Brainstorm Force |
| 6 |
* Author URI: https://brainstormforce.com/ |
| 7 |
* Plugin URI: https://zipwp.com/ |
| 8 |
* Version: 0.0.6 |
| 9 |
* Requires at least: 6.2 |
| 10 |
* Tested up to: 7.0 |
| 11 |
* Requires PHP: 7.4 |
| 12 |
* License: GPLv2 or later |
| 13 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 14 |
* Text Domain: zip-ai |
| 15 |
* Domain Path: /languages |
| 16 |
* |
| 17 |
* External Services: |
| 18 |
* This plugin connects to the ZIP AI platform (https://credits.zipwp.com) |
| 19 |
* to provide AI-powered site management. Chat messages, site structure data (page titles, |
| 20 |
* plugin names, post counts), and site identity are sent to this service after user |
| 21 |
* authentication. No page/post content, visitor data, or payment details are transmitted. |
| 22 |
* Terms of Service: https://store.brainstormforce.com/terms-and-conditions/ |
| 23 |
* Privacy Policy: https://store.brainstormforce.com/privacy-policy/ |
| 24 |
* |
| 25 |
* @package zip-ai |
| 26 |
*/ |
| 27 |
|
| 28 |
// Exit if accessed directly. |
| 29 |
if ( ! defined( 'ABSPATH' ) ) { |
| 30 |
exit; |
| 31 |
} |
| 32 |
|
| 33 |
// Exit if ZipWP MCP is already loaded. |
| 34 |
if ( defined( 'ZIPAI_MCP_DIR' ) ) { |
| 35 |
return; |
| 36 |
} |
| 37 |
|
| 38 |
// Load Composer autoloader first. |
| 39 |
$vendor_autoload = plugin_dir_path( __FILE__ ) . 'vendor/autoload.php'; |
| 40 |
if ( file_exists( $vendor_autoload ) ) { |
| 41 |
require_once $vendor_autoload; |
| 42 |
} |
| 43 |
|
| 44 |
// Load the ZipWP MCP Plugin. |
| 45 |
if ( apply_filters( 'zip_ai_load_library', true ) ) { |
| 46 |
require_once 'loader.php'; |
| 47 |
} |
| 48 |
|