si_new_record

The Caldera Forms - Sprout Invoices Integration si new record hook.

Description

do_action( 'si_new_record', $sprintf, $si_estimate_submissions_submission_update, (unknown) $estimate_id, $sprintf, (int) $int, (bool) $false ); 

Parameters (6)

0. $sprintf
The sprintf.
1. $si_estimate_submissions_submission_update
The si estimate submissions submission update.
2. $estimate_id (unknown)
The estimate id.
3. $sprintf
The sprintf.
4. $int (int)
The int.
5. $false (bool) => FALSE
The false.

Usage

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

Defined (2)

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

/cf-sprout-invoice.php  
  1. do_action( 'si_new_record', 
  1. do_action( 'si_new_record',