How to add handler with the extra hook in the ContactForm WP?

Submitting forms on the website is using the plugin ContactForm (website in WP). The challenge: in addition to letters still need to send your phone number to the following address : https://web.site.ru/api/site/salesCall the phone number of the request (POST method with parameter phone=[phone number of form]

Prompt implementation
April 7th 20 at 15:20
1 answer
April 7th 20 at 15:22
function your_custom_function($output){
 $submission = WPCF7_Submission::get_instance();
 $posted_data = $submission->get_posted_data();
 //then perform any data manipulation $posted_data
}
add_filter('wpcf7_submit', 'your_custom_function');

Find more questions by tags WordPress