-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpersberichten.php
40 lines (35 loc) · 1.27 KB
/
persberichten.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
<?php
/**
* Plugin Name: Yard | Persberichten
* Plugin URI: https://www.openwebconcept.nl/
* Description: Press releases are a variation on OpenPub items. A press release can be added to a laposta campaign based on the connected taxonomy. This only happens when the press release is saved for the first time.
* Version: 2.0.2
* Author: Yard | Digital Agency
* Author URI: https://www.yard.nl/
* License: GPL-3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt
* Text Domain: persberichten
* Domain Path: /languages
*/
/**
* If this file is called directly, abort.
*/
if (! defined('WPINC')) {
die;
}
define('PRESS_DIR', __DIR__);
/**
* Manual loaded file: the autoloader.
*/
require_once __DIR__ . '/autoloader.php';
$autoloader = new OWC\Persberichten\Autoloader();
/**
* Begin execution of the plugin
*
* This hook is called once any activated plugins have been loaded. Is generally used for immediate filter setup, or
* plugin overrides. The plugins_loaded action hook fires early, and precedes the setup_theme, after_setup_theme, init
* and wp_loaded action hooks.
*/
\add_action('plugins_loaded', function () {
$plugin = (new OWC\Persberichten\Foundation\Plugin(__DIR__))->boot();
}, 10);