new update for readonly_acf field with better solution
This commit is contained in:
@@ -105,29 +105,5 @@ add_action('template_redirect', 'partner_form_creation_page_CIPF');
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* actions after partner form is validated
|
||||
*
|
||||
*/
|
||||
//function partner_after_form_CIPF($form_id, $post_array, $form_type) {
|
||||
// Plgntls::debug_infos(2);
|
||||
// $form_partner_id = Cipf::FORM_PARTNER_PAGE_ID;
|
||||
//
|
||||
// if ($form_partner_id !== $form_id) {
|
||||
// return;
|
||||
// }
|
||||
// Plgntls::debug_infos();
|
||||
//
|
||||
//// error_log("form_id: " . json_encode($form_id));
|
||||
//// error_log("post_array: " . json_encode($post_array));
|
||||
//// error_log("form_type: " . json_encode($form_type));
|
||||
//
|
||||
// // should protect : if post creation there will not be an ID
|
||||
// $post_id = $post_array['ID'];
|
||||
//}
|
||||
//add_action('df_after_process', 'partner_after_form_CIPF', 10, 3);
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user