• Resolved dmaestro

    (@dmaestro)


    Hey… thanks for such a great plugin you’ve developed. It is working perfectly and I was able to add headers via your qs_cf7_api_get_args filter.

    add_filter( 'qs_cf7_api_get_args' , 'add_auth_headers' );
    
    function add_auth_headers( $args ){
       //for example
       $args['headers']['Authorization'] = 'Basic ASJKH23HKSS' ;
    }

    However, instead of modifying this code always from functions.php, I would like to have a form field within the API Integration Tab in the Contact form 7 page in wp-admin and be able to set multiple Authorization tokens for different forms.

    Your help will be greatly appreciated.

    Additionally, if possible, I want to be able to set multiple header parameters not only “Authorization” from the front in the same way.

    Thank you.

    • This topic was modified 6 years, 3 months ago by dmaestro.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Additional form fields under API Integration’ is closed to new replies.