Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Protected Content + Gravity Forms
add_filter('ms_frontend_custom_registration_form', 'custom_registration');
function custom_registration () {
// Put your registration form shortcode here.
return do_shortcode('[gravityform id="1" title="false" description="false"]') ;

This comment has been minimized.

Copy link
Owner Author

commented Mar 20, 2015

Just copy/paste the code into the functions.php file of your child theme or a site specific plugin if you use one. You will have a new registration/sign up form for new users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.