do_action_ref_array( 'leandash_ipnlistener_init', Object $listener )
Fires after instansiating a ipnlistener object to allow override of public attributes.
Contents
Description #
Parameters #
- $listener
-
(Object) An instance of IpnListener Class.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?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 #
| Version | Description |
|---|---|
| 2.2.1.2 | Introduced. |