PluginProbe
Canvas / 2.5.4
Canvas v2.5.4
2.5.5 2.5.4 trunk 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 All 54 releases
canvas / canvas.php

canvas.php in Canvas 2.5.4, at canvas.php

57 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: Canvas
4 * Plugin URI: https://codesupply.co/cnvs/
5 * Description: A revolutionary block-based page builder used for building layouts, an interplay of the WordPress block editor features and exceptional UI design.
6 * Version: 2.5.4
7 * Author: Code Supply Co.
8 * Author URI: https://codesupply.co/
9 * License: GPL-2.0+
10 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
11 * Text Domain: canvas
12 * Domain Path: /languages
13 *
14 * @link https://codesupply.co
15 * @package Canvas
16 */
17
18 // If this file is called directly, abort.
19 if ( ! defined( 'WPINC' ) ) {
20 die;
21 }
22
23 /**
24 * Variables
25 */
26 define( 'CNVS_URL', plugin_dir_url( __FILE__ ) );
27 define( 'CNVS_PATH', plugin_dir_path( __FILE__ ) );
28
29 /**
30 * The code that runs during plugin activation.
31 * This action is documented in includes/class-canvas-activator.php
32 */
33 function cnvs_activate() {
34 do_action( 'cnvs_plugin_activation' );
35 }
36 register_activation_hook( __FILE__, 'cnvs_activate' );
37
38 /**
39 * The code that runs during plugin deactivation.
40 * This action is documented in includes/class-canvas-deactivator.php
41 */
42 function cnvs_deactivate() {
43 do_action( 'cnvs_plugin_deactivation' );
44 }
45 register_deactivation_hook( __FILE__, 'cnvs_deactivate' );
46
47 /**
48 * Language
49 */
50 load_plugin_textdomain( 'canvas', false, plugin_basename( CNVS_PATH ) . '/languages' );
51
52 /**
53 * The core plugin class that is used to define internationalization,
54 * admin-specific hooks, and public-facing site hooks.
55 */
56 require_once plugin_dir_path( __FILE__ ) . '/core/class-canvas.php';
57