PluginProbe
Code Engine – PHP Snippets, AI Functions & Automation for WordPress / 0.4.7
Code Engine – PHP Snippets, AI Functions & Automation for WordPress v0.4.7
0.5.6 0.5.5 0.5.4 0.5.3 0.5.2 0.5.1 0.5.0 0.4.9 0.4.8 0.4.7 0.4.6 trunk 0.0.1 0.0.2 0.2.8 0.2.9 0.3.0 0.3.1 0.3.2 0.3.3 0.3.4 0.3.5 0.3.6 0.3.7 0.3.8 All 32 releases
code-engine / code-engine.php

code-engine.php in Code Engine – PHP Snippets, AI Functions & Automation for WordPress 0.4.7, at code-engine.php

51 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 Plugin Name: Code Engine
4 Plugin URI: https://meowapps.com/code-engine
5 Description: Versatile plugin that not only manages PHP code snippets but also acts as a powerful bridge connecting WordPress, AI, and external digital platforms.
6 Version: 0.4.7
7 Author: Jordy Meow
8 Author URI: https://meowapps.com
9 Text Domain: code-engine
10
11 Dual licensed under the MIT and GPL licenses:
12 http://www.opensource.org/licenses/mit-license.php
13 http://www.gnu.org/licenses/gpl.html
14 */
15
16 define( 'MWCODE_VERSION', '0.4.7' );
17 define( 'MWCODE_PREFIX', 'mwcode' );
18 define( 'MWCODE_DOMAIN', 'code-engine' );
19 define( 'MWCODE_ENTRY', __FILE__ );
20 define( 'MWCODE_PATH', dirname( __FILE__ ) );
21 define( 'MWCODE_URL', plugin_dir_url( __FILE__ ) );
22 define( 'MWCODE_ITEM_ID', 23612190 );
23
24 /**
25 * Define the database schema for Code Engine.
26 *
27 * ⚠️ Don't forget to update the version number when you update the schema.
28 * (mwcode_db_snippet_version)
29 */
30 define( 'MWCODE_SNIPPET_COLUMNS', [
31 'id' => 'BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT',
32 'name' => 'TINYTEXT NOT NULL',
33 'description' => 'TEXT NOT NULL',
34 'code' => 'LONGTEXT NOT NULL',
35 'tags' => 'LONGTEXT NOT NULL',
36 'scope' => "VARCHAR(255) NOT NULL DEFAULT ''",
37 'priority' => "SMALLINT(6) NOT NULL DEFAULT 10",
38 'active' => "TINYINT(1) NOT NULL DEFAULT 0",
39 'endpoint' => "VARCHAR(255) NOT NULL DEFAULT ''",
40 'token' => "VARCHAR(255) NOT NULL DEFAULT ''",
41 'method' => "VARCHAR(15) NOT NULL DEFAULT 'POST'",
42 'created' => 'DATETIME NOT NULL',
43 'updated' => 'DATETIME NOT NULL',
44 ]);
45
46
47 require_once( 'classes/init.php' );
48 require_once( 'classes/load.php' );
49
50 ?>
51