The contact-form-7 wpcf7 flamingo get value hook.
Published Date - July 22, 2023
$value = apply_filters( 'wpcf7_flamingo_get_value', $value,
$field, $contact_form
);
$value
$field
$contact_form
The following example is for adding a hook callback.
// define the wpcf7_flamingo_get_value callback
function custom_wpcf7_flamingo_get_value( $value, $field, $contact_form ){
//custom code here
return $value
}
//add the action
add_filter('wpcf7_flamingo_get_value', 'custom_wpcf7_flamingo_get_value', 10, 3)
The filter is defined in the following location(s).
contact-form-7/modules/flamingo.php
$value = apply_filters( 'wpcf7_flamingo_get_value', $value,
$field, $contact_form
);