Is it possible to use the VIPPS plugin with Fluent Forms?
-
Hi
I have begun using Fluent Forms a powerful Forms plugin with a lot of features. I would be great to extend the VIPPS plugin to also work with various Form plugins. As it would be a way to extend how it can be used.
I actually asked AI for tips on connecting Fluent Forms and VIPPS plugin and it suggested using WordPress Hooks and among other things said this:
“Here’s an example of how you might use a WordPress hook to connect the two plugins, but keep in mind that this is a simplified example and the actual implementation will depend on the specific functionality of the WooCommerce VIPS plugin:”
‘add_action('fluentform_after_submission', 'connect_fluentform_to_vips', 10, 3); function connect_fluentform_to_vips($insertId, $formData, $form) { // Check for a specific form if ($form->id != YOUR_FLUENT_FORM_ID) { return; } // Get the WooCommerce user or order $user_id = get_current_user_id(); // or get the user ID/order ID from $formData
‘
It would be great to explore.
Do you have some suggestions?
Tusen takk!
- You must be logged in to reply to this topic.