Last active
August 29, 2015 14:17
-
-
Save JudeRosario/4eb901e6ce685a685780 to your computer and use it in GitHub Desktop.
Protected Content + Gravity Forms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"]') ; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.