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.

Need help to find appropriate hooks

Home Forums Community Forum Need help to find appropriate hooks

Tagged: 

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

Topic Author Topic
Posted: Wednesday Oct 2nd, 2013 at 1:02 pm #60104

Hi everyone,

I’m setting up s2Members on my blog farm and I have a mu-plugin that manage what plugin/themes the user can use based on it’s access level.

Now I need to change the blog access level with my plugin based on it’s owner access level but I can’t find the appropriate hooks.

I’ve searched on the Codex in the hooks pages and also Googled to try and search for what I needed but failed.

TL;DR
I need a hook that trigger when a user access level is set/updated.

List Of Topic Replies

Viewing 4 replies - 1 through 4 (of 4 total)
Author Replies
Author Replies
Posted: Tuesday Oct 8th, 2013 at 10:43 am #60216

Bump.
Can anyone help please? :P

Posted: Sunday Oct 13th, 2013 at 8:03 pm #60331
N. Lee
Username: grant

Would like to know this too. WOW no reply in almost a week!
Frederic are you using Pro?

Posted: Wednesday Oct 16th, 2013 at 11:05 am #60405

Have you tried this:

https://codex.wordpress.org/Plugin_API/Action_Reference/profile_update

or this:

https://codex.wordpress.org/Plugin_API/Action_Reference/edit_user_profile_update

Also, there might be some help here:

http://www.s2member.com/codex/stable/s2member/user_access/package-filters/#src_doc_ws_plugin__s2member_user_access_level

Without knowing too much of the code, I think s2members just adds new roles/capabilities. So checking a user’s role when their profile is saved might be a start.

Posted: Thursday Oct 17th, 2013 at 9:46 am #60426

Hi Manuel Gentinetta,

Thank you so much for your help.
That look exactly what like what I need.

I’ll let you know once I’m done coding my mu-plugins :)

Viewing 4 replies - 1 through 4 (of 4 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.