Working with cURL
-
is there a way to make it work with this?
function leads_integration_wp_cf7( $cf7 ) { $url = your_url_goes_here; $postparams = your_post_params_goes_here; $ch = curl_init($url); curl_setopt($ch, CURLOPT_POSTFIELDS, $postparams); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1 ); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1 ); $output = curl_exec($ch); curl_close($ch); } add_action('wpcf7_mail_sent', 'leads_integration_wp_cf7');https://ww.wp.xz.cn/plugins/contact-form-7-multi-step-module/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Working with cURL’ is closed to new replies.