-
Notifications
You must be signed in to change notification settings - Fork 1
/
orbis-tasks.php
54 lines (49 loc) · 1.35 KB
/
orbis-tasks.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
50
51
52
53
54
<?php
/**
* Orbis Tasks
*
* @package Pronamic\Orbis\Tasks
* @author Pronamic
* @copyright 2024 Pronamic
* @license GPL-2.0-or-later
*
* @wordpress-plugin
* Plugin Name: Orbis Tasks
* Plugin URI: https://wp.pronamic.directory/plugins/orbis-tasks/
* Description: The Orbis Tasks plugin extends your Orbis environment with the option to add tasks and connect them to Orbis projects.
* Version: 1.1.1
* Requires at least: 6.2
* Requires PHP: 8.0
* Author: Pronamic
* Author URI: https://www.pronamic.eu/
* Text Domain: orbis-tasks
* Domain Path: /languages/
* License: GPL v2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Update URI: https://wp.pronamic.directory/plugins/orbis-tasks/
* GitHub URI: https://github.com/pronamic/wp-orbis-tasks
*/
namespace Pronamic\Orbis\Tasks;
/**
* Autoload.
*/
require_once __DIR__ . '/vendor/autoload_packages.php';
/**
* Action Scheduler.
*/
require_once __DIR__ . '/vendor/woocommerce/action-scheduler/action-scheduler.php';
/**
* Bootstrap.
*/
\add_action(
'plugins_loaded',
function () {
\load_plugin_textdomain( 'orbis-tasks', false, \dirname( \plugin_basename( __FILE__ ) ) . '/languages' );
}
);
\add_action(
'plugins_loaded',
function () {
Plugin::instance()->setup();
}
);