-
Notifications
You must be signed in to change notification settings - Fork 96
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
Hooking in the main plugin file is highly unstructured #784
Comments
Sounds great! Thank you for the offer. Would probably be best to propose those in this thread before going ahead with a PR. |
|
I have a note on this topic: https://github.com/szepeviktor/debian-server-tools/blob/master/webserver/wordpress/WordPress-hooks.md As all of them are very cheap to add I am tempted to leave as it is. Let's leave the essentials in the main plugin file:
Move others into:
What do you think? |
So ... one of the big changes in this latest major was to call hooks with functions, not class methods, to make it easier to unhook if needed. I definitely don't want to pack those back into classes for the sake of organization. Separate files like |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇♂️ |
May I come up with ideas what to do with adding filters and actions in
WP_Auth0.php
?The text was updated successfully, but these errors were encountered: