Using filters and actions for plugin API?
Surely this approach has some benefits, but has also some issues. It’s not really easy to use If the target of your plugin are WordPress developers, they will be very familiar with plugin API, but end users are not. For a non-developer, something like: $data = give_me_the_data(); It’s easier to understand, remember and type than: … Read more