lib2_debug_log

The Membership 2 lib2 debug log hook.

Description

do_action( 'lib2_debug_log', $sprintf ); 

Parameters (1)

0. $sprintf — Optional.
The sprintf.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'lib2_debug_log', $sprintf ); 
The following example is for adding a hook callback.
  1. // define the lib2_debug_log callback 
  2. function action_lib2_debug_log( $sprintf ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'lib2_debug_log', 'action_lib2_debug_log', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'lib2_debug_log', 'action_lib2_debug_log', 10, 1 ); 

Defined (7)

The action is defined in the following location(s).

/app/model/class-ms-model-communication.php  
  1. do_action( 
  1. do_action( 
  1. do_action( 
  1. do_action( 
  1. do_action( 
/app/controller/class-ms-controller-gateway.php  
  1. do_action( 'lib2_debug_log', 'Incoming Payment Notification for "' . $gateway . '"' ); 
  1. do_action( 'lib2_debug_log', $_POST );