leandash_ipnlistener_init

do_action_ref_array( 'leandash_ipnlistener_init',  Object $listener )

Fires after instansiating a ipnlistener object to allow override of public attributes.


Description #


Parameters #

$listener

(Object) An instance of IpnListener Class.


Source #

File: includes/lib/paypal/ipn.php


Examples #

 <?php
/**
 * Example usage for ldadvquiz_answered action.
 */
add_action( 'learndash_ipnlistener_init', 'learndash_ipnlistener_init_function', 10, 1 );
function learndash_ipnlistener_init_function( $listener ) {
	// As an example to disable SSL between the servers.
	// This controls how the server to server connection is made and does not effect
	// using HTTPS via the browser.
	$listener->use_ssl = false;
}
 

Changelog #

Changelog
Version Description
2.2.1.2 Introduced.