This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Process PayPal IPN | |
* | |
* @access public | |
* @since 2.1 | |
* @return void | |
*/ | |
public function process_webhooks() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Authorize.net Payment Gateway | |
* | |
* @package rcp-authorize-net | |
* @copyright Copyright (c) 2019, Restrict Content Pro team | |
* @license GPL2+ | |
* @since 1.0 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Authorize.net Payment Gateway | |
* | |
* @package rcp-authorize-net | |
* @copyright Copyright (c) 2019, Restrict Content Pro team | |
* @license GPL2+ | |
* @since 1.0 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Get things going | |
* | |
* @access public | |
* @since 1.0 | |
* @return void | |
*/ | |
public function init() { | |
global $rcp_options; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Payment Gateway Base Class | |
* | |
* You can extend this class to add support for a custom gateway. | |
* @link http://docs.restrictcontentpro.com/article/1695-payment-gateway-api | |
* | |
* @package Restrict Content Pro | |
* @subpackage Classes/Gateway | |
* @copyright Copyright (c) 2017, Pippin Williamson |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Restrict Content Pro - MailChimp Pro "Free" Status | |
* Description: Returns the "free" STATUS merge var value for unpaid memberships. | |
* Version: 1.0 | |
* Author: Restrict Content Pro Team | |
*/ | |
/** | |
* Change `STATUS` merge var to `free` for unpaid users on initial registration. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Restrict Content Pro - Collect Billing Address | |
* Description: Collect customers billing address during registration through Restrict Content Pro | |
* Author: Pippin Williamson | |
* Version: 1.0 | |
*/ | |
class RCP_Billing_Address { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Modify Book Query | |
* | |
* Modifies the WP_Query to change the series archive "orderby" parameter to use | |
* the book's publication date rather than the number in the series. This | |
* eliminates the need to fill out the book series number. | |
* | |
* @param WP_Query $query | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Always show an excerpt. | |
* | |
* @param null|array|string $value The value get_metadata() should return - a single metadata value, or an array of values. | |
* @param int $post_id Object ID. | |
* @param string $meta_key Meta key. | |
* @param bool $single Whether to return only the first value of the specified $meta_key. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Append text to admin expired email. | |
* Also convert template tags. | |
* | |
* @param string $admin_message Default admin message contents. | |
* @param int $user_id ID number of the expired user. | |
* | |
* @return string New admin message contents. |
NewerOlder