small improvements in handling prof states :
- card date validation now uses direct card duration, not a parameter - checker for both types of transfert valid and invalid - mv checks for transfert and date expiration in specific functions
This commit is contained in:
27
plugins/cipf_plugin/php/partners_form.php
Normal file
27
plugins/cipf_plugin/php/partners_form.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* it means someone outside wp is accessing the file, in this case kill it.
|
||||
*/
|
||||
if (!defined('ABSPATH')) {
|
||||
die('You can not access this file!');
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
function partner_form_redirection_CIPF($form_id, $submit_result, $redirect_url_after_submission) {
|
||||
error_log("---in partner_form_redirection_CIPF");
|
||||
error_log("form_id");
|
||||
error_log(json_encode($form_id));
|
||||
error_log("submit_result");
|
||||
error_log(json_encode($submit_result));
|
||||
error_log("redirect_url_after_submission");
|
||||
error_log(json_encode($redirect_url_after_submission));
|
||||
}
|
||||
do_action('df_before_redirect', 'partner_form_redirection_CIPF');
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user