PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Docs inconsistency: Paypal post_payment_status hook ?

  1. This page shows two different code samples for the same hook:
    http://www.gravityhelp.com/documentation/page/Gform_post_payment_status

    1. add_filter ("gform_paypal_post_payment_status", "admin_notify_status", 10, 8);
    2. add_action ('gform_post_payment_status', 'admin_payment_notification');

    Which one is correct?

    Gleb

    Posted 11 years ago on Thursday September 8, 2011 | Permalink
  2. Hi Gleb,

    The code has been updated. The correct usage is:

    add_action('gform_post_payment_status', 'your_custom_function');

    Posted 11 years ago on Thursday September 8, 2011 | Permalink
  3. Thanks for fast response!

    Gleb

    Posted 11 years ago on Thursday September 8, 2011 | Permalink

This topic has been resolved and has been closed to new replies.