Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: only apply to front-end when WC session is available #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeroendk
Copy link

@jeroendk jeroendk commented Sep 3, 2022

Fixes #134

Session handler is only available on the front end, this code throws a fatal error on the backend product page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New woocommerce_product_get_stock_quantity filter causes error on backend product page
1 participant