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

Register a "Reset Order Limiting" WooCommerce tool #42

Merged
merged 2 commits into from
Jul 15, 2020

Conversation

stevegrunwell
Copy link
Contributor

This PR registers a new tool within the WooCommerce > Status > Tools page that lets store administrators clear the order limiter transient.

Additionally, clearing all WooCommerce order transients (via wc_delete_shop_order_transients(), which is called as part of the "WooCommerce transients" tool), will clear our limiter transient as well.

Fixes #35.

This commit registers a new tool within the WooCommerce > Status > Tools page that lets store administrators clear the order limiter transient.

Additionally, clearing all WooCommerce order transients (via `wc_delete_shop_order_transients()`, which is called as part of the "WooCommerce transients" tool), will clear our limiter transient as well.

Fixes #35.
@stevegrunwell stevegrunwell added the enhancement New feature or request label Jul 15, 2020
@stevegrunwell stevegrunwell added this to the Version 1.3.0 milestone Jul 15, 2020
@stevegrunwell stevegrunwell requested a review from bswatson July 15, 2020 17:20
Copy link
Contributor

@bswatson bswatson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thoughts on the one bit of feedback?

@bswatson bswatson merged commit bbe0cb9 into develop Jul 15, 2020
@bswatson bswatson deleted the feature/reset-button branch July 15, 2020 18:12
@stevegrunwell stevegrunwell mentioned this pull request Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Manual resetting of limits
2 participants