Identifying the extendable features of third-party plugins
As we already discovered in the Creating addons for plugins section, not all plugins are extendable. Even within extendable plugins, we have a low to high degree of extendibility in features. So, identifying the extendable features is not an easy task, especially when working with advanced plugins such as WooCommerce, BuddyPress, and bbPress.
In Chapter 3, Designing Flexible Frontends with Theme Development, we identified the extendable features of a theme by searching for built-in actions and filters. We can use the same process for plugins, unless each and every hook in the plugin is documented on the plugin site. Let's take a quick look at the extendable features of the popular WooCommerce plugin. Use the code editor to search actions and filters within the WooCommerce directory.
Â
We are using WooCommerce 3.4.4 version, and we get 849 action executions and 1,553 filter executions. So, this means we have over 2,000 locations where...