latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Hook to use when membership level changes?

Home Forums Community Forum Hook to use when membership level changes?

This topic contains 3 replies, has 2 voices. Last updated by  Eduan 4 years, 3 months ago.

Topic Author Topic
Posted: Friday Sep 14th, 2012 at 12:44 am #25252
Dan Martinez
Username: njitc

I looked all through the hooks and can’t seem to find the hook to use when a user’s membership level is changed by:

  • expiration of subscription term
  • manually changed by admin
  • when user downgrades
  • when user upgrades
  • when user initially joins

Ideally, only 1 hook would be needed to monitor any of the above events.

Any ideas or do I have to mod the source to create my own hooks? (..nightmare)

  • This topic was modified 4 years, 3 months ago by  Dan Martinez.

List Of Topic Replies

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Friday Sep 14th, 2012 at 9:31 pm #25386
Dan Martinez
Username: njitc

bump.

Posted: Friday Sep 14th, 2012 at 11:50 pm #25389
Dan Martinez
Username: njitc

RESOLVED

I could not find the hooks I was looking for in the codex… probably because they are either named or called differently than I’m expecting.

However, the answer was much more simple than anticipated. I completely overlooked the following section:
Dashboard -› s2Member® -› API / Notifications -› Registration Notifications

I accomplished my goal by creating a custom url in the appropriate area of the above named section which passed the data I needed to a php page that I created which processed the incoming data. …run on sentence for the win.

Posted: Saturday Sep 15th, 2012 at 8:51 am #25418
Eduan
Username: Eduan
Moderator

Hello Dan,

Glad you were able to solve your problem. :)

Viewing 3 replies - 1 through 3 (of 3 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.