WordPress.org

Support

Support » Plugins and Hacks » Welcome Pack » [Resolved] Welcome Pack and Gravity Forms – I need to know which Welcome Pack

[Resolved] Welcome Pack and Gravity Forms – I need to know which Welcome Pack

  • 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.

    http://wordpress.org/extend/plugins/welcome-pack/

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    Plugin Author Paul Gibbs

    @djpaul

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Welcome Pack and Gravity Forms – I need to know which Welcome Pack’ is closed to new replies.
Skip to toolbar