krdevio
Forum Replies Created
-
ran into this issue today, bumping the thread. I would consider this a bug as recaptcha has nothing to do with the WP REST API (user creation via API can’t complete any captcha).
Can Confirm, I have the same behavior.
Since it looks like the plugin author is MIA, anyone who is confident enough to edit the plugin, here is how you fix it:
1. Go to your site’s plugin folder.
2. Find ‘authorizenet-payment-gateway-for-woocommerce’, go in the folder and download/edit index.php
3. Scroll all the way to the bottom of the file, remove the following line:
add_action('admin_init', 'woosim__plugin_redirect');
line 478 on latestThat should be enough to disable the redirect.
Hello Arshid,
The point was that it seems ridiculous to have to use another plugin to support a tag that is already in Contact Form 7.
Anyways thank you for providing filters though, I just re-implemented it myself.
For anyone else with the same problem, as long as having Referral-Page on all of your entries is ok, you can add the following to your functions.php:
add_filter( 'cfdb7_before_save_data', 'cfdb7_add_url', 10, 1); function cfdb7_add_url( $form_data ) { // Get submission first $submission = WPCF7_Submission::get_instance(); if( empty($submission) ) return $form_data; $form_data["Referrer-Page"] = $submission->get_meta( 'url' ); return $form_data; }