hi, i’ve installed it on wp v5.8 and not it’s working in WP v5.8. it doesn’t show up on the admin left nav, nor in tools and settings. thanks
]]>Hello,
i am trying to modify the posted data of my form. I have tried adding an action in my functions.php named “wpcf7_before_send_mail”. Inside this action i have tried WPCF7_Submission::get_instance() and get_posted_data() modifying the posted data array but i haven’t got any luck.
Here is my code:
add_action(‘wpcf7_before_send_mail’, ‘mytheme_save_to_getresponse’, 10, 1);
function mytheme_save_to_getresponse($form)
{
try{
// get current SUBMISSION instance
$submission = WPCF7_Submission::get_instance();
// Ok go forward
if ($submission) {
// get submission data
$data = $submission->get_posted_data_TIB();
$data[“yourage”]=33;
}
update_user_meta(1, ‘-log-form’, json_encode((array)$form));
}
catch(Exception $ex){
update_user_meta(1, ‘-log-exception’, $ex->getMessage());
}
return $form;
}
How should i do to modify the posted data?
Thanks!
Regards
Rafael
]]>Im usign Contact Form 7 and Slack Contact Form 7 Plugin to recieve notifications on my custon slack #Channel everytime a user hits SEND on any of my CF7 forms and it works ok.
But still i also need to recieve the content of the forms in the same message body, to have even MORE control and be able to attend in real time.
Any help??
Thanks!!!
]]>The test is working so do the posts and comments but the contact form 7 isn’t. About the same problem as the other post.
Is there a possibility to fix this?
Many thanks
Jan
I have Slack integration working. Test notifications work and notifications about new posts and comments are working. But we don’t get notifications from Contact Form 7.
I’ve installed your plugin and checked “When someone sent message through Contact Form 7” check box.
Should I get a notification? Or is it necessary to alter the message slack_wpcf7_submit_message
filter?