-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorbis-voys.php
38 lines (35 loc) · 992 Bytes
/
orbis-voys.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
<?php
/**
* Orbis Voys
*
* @package Pronamic\WordPress\Orbis\Voys
* @author Pronamic
* @copyright 2021 Pronamic
* @license GPL-2.0-or-later
*
* @wordpress-plugin
* Plugin Name: Orbis Voys
* Plugin URI: https://www.pronamic.eu/plugins/orbis-voys/
* Description: The Orbis Voys plugin can process Voys call notifications and display calls in your Orbis installation.
* Version: 1.0.0
* Requires at least: 5.2
* Requires PHP: 7.2
* Author: Pronamic
* Author URI: https://www.pronamic.eu/
* Text Domain: orbis-voys
* License: GPL v2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*/
/**
* Autoload.
*/
require __DIR__ . '/vendor/autoload.php';
/**
* Action.
*/
add_action( 'orbis_after_side_content', function() {
if ( ! is_singular( 'orbis_person' ) ) {
return;
}
include __DIR__ . '/templates/person-calls.php';
} );