-
Notifications
You must be signed in to change notification settings - Fork 0
/
collabora-online-wp.php
49 lines (43 loc) · 1.56 KB
/
collabora-online-wp.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
/**
* Collabora Online WP
*
* @package collabora-online-wp
* @author Collabora Productivity
* @copyright 2024 Collabora Productivity
* @license MPL-2.0
*
* @wordpress-plugin
* Plugin Name: Collabora Online WP
* Plugin URI: https://github.com/CollaboraOnline/collabora-wordpress
* Description: WordPress connector for Collabora Online, allow you to view or edit collaboratively office documents directly from WordPress in Collabora Online.
* Version: 0.9.1
* License: MPL-2.0
* License URI: https://www.mozilla.org/en-US/MPL/2.0/
*
* Spdx-License: MPL-2.0
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
define( 'COOL_PLUGIN_NAME', 'collabora-online-wp' );
define( 'COOL_PLUGIN_VERSION', '0.9.1' );
define( 'COOL_PLUGIN_VERSION_NUM', 91 );
define( 'COOL_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'COOL_PLUGIN_FILE', plugin_dir_path( __FILE__ ) . '/' . basename( __FILE__ ) );
register_activation_hook( __FILE__, array( 'Collabora', 'plugin_activation' ) );
register_deactivation_hook( __FILE__, array( 'Collabora', 'plugin_deactivation' ) );
register_uninstall_hook( __FILE__, array( 'Collabora', 'plugin_uninstall' ) );
require_once COOL_PLUGIN_DIR . 'includes/class-collabora.php';
/**
* Run the plugin
*/
function run_collabora() {
$plugin = new Collabora();
}
run_collabora();