Skip to content

Instantly share code, notes, and snippets.

@BronsonQuick
Created May 31, 2012 02:42
Show Gist options
  • Save BronsonQuick/2840622 to your computer and use it in GitHub Desktop.
Save BronsonQuick/2840622 to your computer and use it in GitHub Desktop.
Add an anchor for Gravity Forms when forms are submitted
<?php
/* If the gravity form is below the fold the user can get confused if there isn't an anchor on the form */
add_filter("gform_confirmation_anchor", create_function("","return true;"));
?>
@webprese
Copy link

Still works perfectly, thanks!

@artifex404
Copy link

artifex404 commented Mar 2, 2018


add_filter( 'gform_confirmation_anchor', '__return_true' );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment