-
Notifications
You must be signed in to change notification settings - Fork 5
/
ai-for-wp.php
36 lines (32 loc) · 955 Bytes
/
ai-for-wp.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
/**
* Plugin Name: CodeWP helper
* Plugin URI: https://github.com/wpai/codewpai
* Description: Connect with the CodeWP platform for instant troubleshooting and personalized code generation.
*
* Text Domain: ai-for-wp
* Domain Path: /languages
*
* Author: WPAI, Inc.
* Author URI: https://codewp.ai
*
* Version: 0.2.5
* Requires at least: 5.8.1
* Tested up to: 6.4.1
* Requires PHP: 7.4
* License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* License: GPL v2 or later
*
* @package CodeWP Helper
*/
if (!defined('ABSPATH')) {
exit; // Exit if accessed directly
}
use WpAi\CodeWpHelper\Main;
if (!class_exists(Main::class)) {
$autoload_packages = __DIR__ . '/vendor/autoload_packages.php';
if (is_file($autoload_packages)) {
require_once $autoload_packages;
}
}
$codewpai = new Main(__FILE__);