The contact-form-7 wpcf7 posted data hook.
Published Date - July 22, 2023
$this->posted_data = apply_filters( 'wpcf7_posted_data', $posted_data );
$posted_data
The following example is for adding a hook callback.
// define the wpcf7_posted_data callback
function custom_wpcf7_posted_data( $posted_data ){
//custom code here
return $posted_data
}
//add the action
add_filter('wpcf7_posted_data', 'custom_wpcf7_posted_data', 10, 1)
The filter is defined in the following location(s).
contact-form-7/includes/submission.php
$this->posted_data = apply_filters( 'wpcf7_posted_data', $posted_data );