Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
M2 + Gravity Forms Registration
add_filter('ms_frontend_custom_registration_form','gravity_register_form') ;
function gravity_register_form($form) {
if(!is_user_logged_in())
return do_shortcode('[gravity_form id =1]');
return $form ;
}
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.