Welcome Pack
[resolved] Welcome Pack and Gravity Forms - I need to know which Welcome Pack (3 posts)

  1. Jeremy Story
    Posted 4 years ago #

    I am using Gravity Forms with Welcome Pack and Buddypress. Gravity Forms (if used for registration) routes around Buddypresses normal registration processes. So...

    I put this line into my functions.php file:

    add_action( 'gform_user_registered', array( 'DP_Welcome_Pack', 'user_activated' ) );

    however it gave me this error:

    Fatal error: Call to undefined function add_action()

    The error indicates this is the wrong Welcome Pack function because the function name has changed. What is the correct function then?

    Thank you for your help.


  2. Jeremy Story
    Posted 4 years ago #

    In case anyone else comes across this looking for answers. The problem was that I had put this code into the functions.php file in the WordPress root folder. This code needs to be put into the functions.php file in the theme folder that you are using/have active for your site.

  3. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 4 years ago #

    Ah, this is actually pretty cool. So "gform_user_registered" is the action that Gravity Forms fires when it registers a user? If you can confirm, I'll add it into Welcome Pack.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Welcome Pack
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic