wpmem_exp_ipn_defaults

Description

Filters the IPN default settings.

Parameters

$defaults
(array) (required) An array of settings.

  • paypal_live – Whether PayPal is using live or sandbox mode (1|0)
  • ipn_debug – Whether IPN is in debug (logging) mode (1|0)
  • paypal_id – The PayPal ID
  • show_button – Show button on completed registration (1|0)
  • refunds – if IPN refund messages should expire the user (1|0)
  • verbose_log – Enable verbose logging (not included by default (true|false)

 

Usage

This example shows how to enable verbose logging:

[gist id=ce3581720073dd7b4e24d14886e80541 file=wpmem_ipn_verbose_log.php]

Changelog

Introduced in version 0.7.0

Source

wpmem_exp_ipn_defaults is located in includes/class-wp-members-paypal-subscriptions.php.