mindkomm / timber-integration-woocommerce

WooCommerce integration for Timber
MIT License
109 stars 20 forks source link

feat: Deprecate theme/woocommerce/views_folder filter in favor of timber/woocommerce/views_folder #44

Closed gchtr closed 2 months ago

gchtr commented 2 months ago

In 1.x, a new theme/woocommerce/views_folder filter was added. This filter uses the wrong prefix theme/woocommerce instead of timber/woocommerce, like all other hooks of this package.

To fix this, this pull request deprecates the theme/woocommerce/views_folder using apply_filters_deprecated() and adds the new correct filter timber/woocommerce/views_folder.

The old filter will still work until the next major version, but you are encouraged to use the new timber/woocommerce/views_folder filter.