-
Notifications
You must be signed in to change notification settings - Fork 1
/
pronamic-pay-memberpress.php
43 lines (40 loc) · 1.15 KB
/
pronamic-pay-memberpress.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
<?php
/**
* Plugin Name: Pronamic Pay MemberPress Add-On
* Plugin URI: https://www.pronamic.eu/plugins/pronamic-pay-memberpress/
* Description: Extend the Pronamic Pay plugin with MemberPress support to receive payments through a variety of payment providers.
*
* Version: 4.8.2
* Requires at least: 4.7
* Requires PHP: 7.4
*
* Author: Pronamic
* Author URI: https://www.pronamic.eu/
*
* Text Domain: pronamic-pay-memberpress
* Domain Path: /languages/
*
* License: GPL-3.0-or-later
*
* Requires Plugins: pronamic-ideal
* Depends: wp-pay/core
*
* GitHub URI: https://github.com/pronamic/wp-pronamic-pay-memberpress
*
* @author Pronamic <[email protected]>
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Extensions\MemberPress
*/
add_filter(
'pronamic_pay_plugin_integrations',
function ( $integrations ) {
foreach ( $integrations as $integration ) {
if ( $integration instanceof \Pronamic\WordPress\Pay\Extensions\MemberPress\Extension ) {
return $integrations;
}
}
$integrations[] = new \Pronamic\WordPress\Pay\Extensions\MemberPress\Extension();
return $integrations;
}
);