Asked by Tom - TA INVENTIONS on Aug 4, 2024
Tom is looking for documentation on how to extend the HubSpot WooCommerce plugin's functionality – should he edit the plugin or use an add-on?
Answered by Tom - TA INVENTIONS
Tom found the solution himself: The plugin provides WordPress action and filter hooks (`apply_filters`, `do_action`). The best practice is to create a separate custom WordPress plugin that uses these hooks to add functionality, allowing the main HubSpot plugin to remain updateable.