PluginProbe
Calendar.online / Kalender.digital – Plugin / trunk
Calendar.online / Kalender.digital – Plugin vtrunk
trunk 1.0.0 1.0.1 1.0.10 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9
kalender-digital / kalender-digital.php

kalender-digital.php in Calendar.online / Kalender.digital – Plugin trunk, at kalender-digital.php

83 lines 2.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * The plugin bootstrap file
5 *
6 * This file is read by WordPress to generate the plugin information in the plugin
7 * admin area. This file also includes all of the dependencies used by the plugin,
8 * registers the activation and deactivation functions, and defines a function
9 * that starts the plugin.
10 *
11 * @link https://calendar.online
12 * @since 1.0.0
13 * @package Kalender_Digital
14 *
15 * @wordpress-plugin
16 * Plugin Name: Calendar.online
17 * Plugin URI: https://calendar.online/c/on-your-website
18 * Description: Plugin for Calendar.online
19 * Version: 1.0.14
20 * Author: Calendar.online
21 * Author URI: https://calendar.online
22 * License: GPL-2.0+
23 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
24 * Text Domain: kalender-digital
25 * Domain Path: /languages
26 */
27
28 // If this file is called directly, abort.
29 if ( ! defined( 'WPINC' ) ) {
30 die;
31 }
32
33 /**
34 * Currently plugin version.
35 * Start at version 1.0.0 and use SemVer - https://semver.org
36 * Rename this for your plugin and update it as you release new versions.
37 */
38 define( 'KALENDER_DIGITAL_VERSION', '1.0.14' );
39
40 /**
41 * The code that runs during plugin activation.
42 * This action is documented in includes/class-kalender-digital-activator.php
43 */
44 function activate_kalender_digital() {
45 require_once plugin_dir_path( __FILE__ ) . 'includes/class-kalender-digital-activator.php';
46 Kalender_Digital_Activator::activate();
47 }
48
49 /**
50 * The code that runs during plugin deactivation.
51 * This action is documented in includes/class-kalender-digital-deactivator.php
52 */
53 function deactivate_kalender_digital() {
54 require_once plugin_dir_path( __FILE__ ) . 'includes/class-kalender-digital-deactivator.php';
55 Kalender_Digital_Deactivator::deactivate();
56 }
57
58 register_activation_hook( __FILE__, 'activate_kalender_digital' );
59 register_deactivation_hook( __FILE__, 'deactivate_kalender_digital' );
60
61 /**
62 * The core plugin class that is used to define internationalization,
63 * admin-specific hooks, and public-facing site hooks.
64 */
65 require plugin_dir_path( __FILE__ ) . 'includes/class-kalender-digital.php';
66
67 /**
68 * Begins execution of the plugin.
69 *
70 * Since everything within the plugin is registered via hooks,
71 * then kicking off the plugin from this point in the file does
72 * not affect the page life cycle.
73 *
74 * @since 1.0.0
75 */
76 function run_kalender_digital() {
77
78 $plugin = new Kalender_Digital();
79 $plugin->run();
80
81 }
82 run_kalender_digital();
83