new update for readonly_acf field with better solution

This commit is contained in:
asus
2024-04-20 14:57:10 +02:00
parent f2bcc51ec0
commit 6bbedf52cb
3 changed files with 72 additions and 207 deletions

View File

@@ -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);
?>