Support » Plugin: Contact form 7 TO API » Manipulate data before POST

  • Is it possible to manipulate the fields values before it POST to the API? I want to format the values of fields like telephone and acceptance.

Viewing 1 replies (of 1 total)
  • Hello, this may be an little late but I’m posting this anyway.

    add_filter('qs_cf7_api_get_args', function($args) {
    	$args['body']['email'] = '';
    	return $args;

    $args[‘body’] contains all the form fields and “email” is the name of the field I defined in the CF7 form editor.

Viewing 1 replies (of 1 total)
  • The topic ‘Manipulate data before POST’ is closed to new replies.