PluginProbe
s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions / trunk
s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions vtrunk
260909 260829 260814 260805 110710 110731 110812 110815 110912 110913 110915 110926 110927 111002 111003 111011 111017 111029 111105 111206 111216 111220 120213 120219 120301 All 187 releases
s2member / src / includes / classes / paypal-webhook.inc.php

paypal-webhook.inc.php in s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions trunk, at src/includes/classes/paypal-webhook.inc.php

26 lines 535 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 // @codingStandardsIgnoreFile
3 /**
4 * s2Member's PayPal Webhook handler (REST).
5 *
6 * @package s2Member\PayPal
7 * @since 260112
8 */
9 if(!defined('WPINC'))
10 exit('Do not access this file directly.');
11
12 if(!class_exists('c_ws_plugin__s2member_paypal_webhook'))
13 {
14 class c_ws_plugin__s2member_paypal_webhook
15 {
16 /**
17 * @attaches-to ``add_action('init');``
18 */
19 public static function paypal_webhook()
20 {
21 if(!empty($_REQUEST['s2member_paypal_webhook']))
22 c_ws_plugin__s2member_paypal_webhook_in::paypal_webhook();
23 }
24 }
25 }
26