PluginProbe
Gridable / 1.2.0
Gridable v1.2.0
1.2.12 1.2.11 trunk 0.1.0 0.5.0 1.0.0 1.1.0 1.2.0 1.2.1 1.2.10 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9
gridable / gridable.php

gridable.php in Gridable 1.2.0, at gridable.php

63 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Gridable
4 * Plugin URI: https://pixelgrade.com/
5 * Description: The Missed Grid Content Editor
6 * Version: 1.2.0
7 * Author: Pixelgrade
8 * Author URI: https://pixelgrade.com/
9 * License: GPL-2.0+
10 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
11 * Text Domain: gridable
12 * Domain Path: /languages
13 */
14
15 // If this file is called directly, abort.
16 if ( ! defined( 'WPINC' ) ) {
17 die;
18 }
19
20 /**
21 * The code that runs during plugin activation.
22 * This action is documented in includes/class-gridable-activator.php
23 */
24 function activate_gridable() {
25 require_once plugin_dir_path( __FILE__ ) . 'includes/class-gridable-activator.php';
26 Gridable_Activator::activate();
27 }
28
29 /**
30 * The code that runs during plugin deactivation.
31 * This action is documented in includes/class-gridable-deactivator.php
32 */
33 function deactivate_gridable() {
34 require_once plugin_dir_path( __FILE__ ) . 'includes/class-gridable-deactivator.php';
35 Gridable_Deactivator::deactivate();
36 }
37
38 register_activation_hook( __FILE__, 'activate_gridable' );
39 register_deactivation_hook( __FILE__, 'deactivate_gridable' );
40
41 /**
42 * The core plugin class that is used to define internationalization,
43 * admin-specific hooks, and public-facing site hooks.
44 */
45 require plugin_dir_path( __FILE__ ) . 'includes/class-gridable.php';
46
47 /**
48 * Begins execution of the plugin.
49 *
50 * Since everything within the plugin is registered via hooks,
51 * then kicking off the plugin from this point in the file does
52 * not affect the page life cycle.
53 *
54 * @since 1.0.0
55 */
56 function run_gridable() {
57 global $gridable_plugin;
58 $gridable_plugin = new Gridable();
59 $gridable_plugin->run();
60
61 }
62 run_gridable();
63