Open tobeycodes opened 3 weeks ago
Thanks, @tobeycodes. I've added this to the Internal Tools working group agenda to be discussed. If you have any additional context/information that would be useful for those reviewing this, I'd greatly appreciate it if you could add it.
From my perspective, the issue here is that we have classes containing actions/filters, but then we also have functional PHP files containing actions/filters. The issue with mixing them is that:
Is there anything there you think I've missed?
@darylldoyle Summed up perfectly
https://github.com/10up/wp-scaffold/tree/trunk/themes/10up-theme/includes
We should be consistent with how we use actions/filters. Either we should use functions everywhere or classes everywhere.