Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Hooks before member is added, edited or deleted #51

Closed
acicovic opened this issue Sep 12, 2020 · 3 comments
Closed

Feature Request: Hooks before member is added, edited or deleted #51

acicovic opened this issue Sep 12, 2020 · 3 comments

Comments

@acicovic
Copy link

Hello,

Can we have hooks firing before a member is added, edited or deleted?

for example:
before_member_added
before_member_edited
before_member_deleted

This way we can check and allow or prevent the process.

Thanks!

@wp-insider
Copy link
Owner

Yep, that sounds good to me. Please tell me which file and which line (for me "before_member_added" maybe a different spot in the code than what you are thinking).

@acicovic
Copy link
Author

Hello there,

I'll step through the code and let you know. However I think that your opinion is important since you know the codebase way better than me.

Thank you so much for being open to introducing various hooks into SWPM.

@wp-insider
Copy link
Owner

Hi, I will close this one for now to clean things up. If you end up needing this, you can re-open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants