Hooking change in status field of amember users table

Discussion in 'Customization & add-ons' started by smessina, Apr 8, 2009.

  1. smessina

    smessina New Member

    Joined:
    Jun 3, 2008
    Messages:
    7
    Hi

    I need to be able to run some scripts when the "status" field of a user changes between "pending", "active" , or "expired" ( 0, 1 and 2 )

    How can I get my script to run when this state changes?

    Will setup_plugin_hook('subscription_updated', ... ) work in this case?

    Thanks in advance

Share This Page