wpcf7_signature_upgrade

The Contact Form 7 Signature Addon wpcf7 signature upgrade hook.

Description

do_action( 'wpcf7_signature_upgrade', (unknown) $new_ver, (unknown) $old_ver ); 

Parameters (2)

0. $new_ver (unknown)
The new ver.
1. $old_ver (unknown)
The old ver.

Usage

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

Defined (1)

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

/includes/class-wpcf7-signature.php  
  1. do_action( 'wpcf7_signature_upgrade', $new_ver, $old_ver );