PluginProbe
Sticky Notes for WP Dashboard / trunk
Sticky Notes for WP Dashboard vtrunk
trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 All 27 releases
wb-sticky-notes / wb-sticky-notes.php

wb-sticky-notes.php in Sticky Notes for WP Dashboard trunk, at wb-sticky-notes.php

79 lines 2.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * The plugin bootstrap file
4 *
5 *
6 * @link https://wordpress.org/plugins/wb-sticky-notes
7 * @since 1.0.0
8 * @package Wb_Sticky_Notes
9 *
10 * @wordpress-plugin
11 * Plugin Name: Sticky Notes for WP Dashboard
12 * Description: Easily add, manage, and organize sticky notes directly on your WordPress dashboard. Perfect for reminders, to-dos, and team collaboration.
13 * Version: 1.2.7
14 * Author: Web Builder 143
15 * Author URI: https://profiles.wordpress.org/webbuilder143/
16 * License: GPL-2.0+
17 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
18 * Text Domain: wb-sticky-notes
19 * Domain Path: /languages
20 */
21
22 // If this file is called directly, abort.
23 if ( ! defined( 'WPINC' ) ) {
24 die;
25 }
26
27 /**
28 * Currently plugin version.
29 */
30 define('WB_STICKY_NOTES_VERSION','1.2.7');
31
32 define('WB_STN_SETTINGS','WB_STN_SETTINGS');
33
34 define('WB_STN_POST_TYPE','wb-sticky-notes');
35
36 define ('WB_STN_PLUGIN_FILENAME',__FILE__);
37 define ('WB_STICKY_PLUGIN_NAME','wb-sticky-notes');
38 define ('WB_STN_PLUGIN_PATH',plugin_dir_path(WB_STN_PLUGIN_FILENAME));
39 define ('WB_STN_PLUGIN_URL',plugin_dir_url(WB_STN_PLUGIN_FILENAME));
40
41
42 /**
43 * The code that runs during plugin activation.
44 * This action is documented in includes/class-wb-sticky-notes-activator.php
45 */
46 function activate_wb_sticky_notes() {
47 require_once plugin_dir_path( __FILE__ ) . 'includes/class-wb-sticky-notes-activator.php';
48 Wb_Sticky_Notes_Activator::activate();
49 }
50
51 /**
52 * The code that runs during plugin deactivation.
53 * This action is documented in includes/class-wb-sticky-notes-deactivator.php
54 */
55 function deactivate_wb_sticky_notes() {
56 require_once plugin_dir_path( __FILE__ ) . 'includes/class-wb-sticky-notes-deactivator.php';
57 Wb_Sticky_Notes_Deactivator::deactivate();
58 }
59
60 register_activation_hook( __FILE__, 'activate_wb_sticky_notes' );
61 register_deactivation_hook( __FILE__, 'deactivate_wb_sticky_notes' );
62
63 /**
64 * The core plugin class that is used to define internationalization,
65 * admin-specific hooks, and public-facing site hooks.
66 */
67 require plugin_dir_path( __FILE__ ) . 'includes/class-wb-sticky-notes.php';
68
69 /**
70 * Begins execution of the plugin.
71 * @since 1.0.0
72 */
73 function run_wb_sticky_notes() {
74
75 $plugin = new Wb_Sticky_Notes();
76 $plugin->run();
77
78 }
79 add_action('init', 'run_wb_sticky_notes');