53 lines
1.4 KiB
PHP
53 lines
1.4 KiB
PHP
<?php
|
|
namespace FBPATCH;
|
|
|
|
/*
|
|
* it means someone outside wp is accessing the file, in this case kill it.
|
|
*/
|
|
if (!defined('ABSPATH')) {
|
|
die('You can not access this file!');
|
|
}
|
|
|
|
/*
|
|
* 4674 : ../../../../wordpress_docker/volumes/wp_volume/wp-content/plugins/divi-form-builder/includes/modules/Form/Form.php
|
|
*
|
|
*/
|
|
//function form_partner_before_render_CIPF() {
|
|
// PLGNTLS_class::debug_infos();
|
|
//
|
|
// $cipf_form_partner = new PLGNTLS_class();
|
|
// $cipf_form_partner->add_to_front(array(
|
|
// 'css/hide_show_form_elements.css',
|
|
// ));
|
|
//}
|
|
//add_action('de_fb_before_form_render', 'form_partner_before_render_CIPF');
|
|
|
|
|
|
/*
|
|
* 305 : ../../../../wordpress_docker/volumes/wp_volume/wp-content/plugins/divi-form-builder/includes/DiviFormBuilder.php
|
|
*
|
|
*/
|
|
function form_partner_before_process($form_id, $post_array, $form_type) {
|
|
error_log("form_id: " . json_encode($form_id));
|
|
error_log("post_array: " . json_encode($post_array));
|
|
error_log("form_type: " . json_encode($form_type));
|
|
}
|
|
add_action('df_before_process', __NAMESPACE__.'\form_partner_before_process', 10, 3);
|
|
|
|
/*
|
|
* 506 : ../../../../wordpress_docker/volumes/wp_volume/wp-content/plugins/divi-form-builder/includes/DiviFormBuilder.php
|
|
*
|
|
*/
|
|
function form_partner_before_insert($form_id, $post_array) {
|
|
error_log("form_id: " . json_encode($form_id));
|
|
error_log("post_array: " . json_encode($post_array));
|
|
}
|
|
add_action('df_before_insert_post', __NAMESPACE__.'\form_partner_before_insert', 10, 2);
|
|
|
|
|
|
|
|
|
|
|
|
?>
|
|
|