-
Notifications
You must be signed in to change notification settings - Fork 0
Actions
Alex Bondarev edited this page Jun 6, 2022
·
7 revisions
Action skip405_kickbox_before_email_verification fires before a verification request is made.
Params:
| Name | Type | Description |
|---|---|---|
$email |
string |
Email address to verify |
Example:
add_action( 'skip405_kickbox_before_email_verification', 'my_func' );
function my_func( $email ) {
// use $email somehow
}Action skip405_kickbox_after_email_verification fires after a verification from Kickbox has been received.
Params:
| Name | Type | Description |
|---|---|---|
$email |
string |
Email address that has been verified |
$verification |
array |
Verification result |
Details:
$verification is an array with success and data keys.
success is a bool, data is an instance of WP_Error when the verification call is unsuccessful and an array with code, body and headers keys when the verification call is successful. body will contain the response from Kickbox.
Example:
add_action( 'skip405_kickbox_after_email_verification', 'my_func', 10, 2 );
function my_func( $email, $verification ) {
// use $email or $verification somehow
}