Skip to content

Register a "Reset Order Limiting" WooCommerce tool#42

Merged
bswatson merged 2 commits intodevelopfrom
feature/reset-button
Jul 15, 2020
Merged

Register a "Reset Order Limiting" WooCommerce tool#42
bswatson merged 2 commits intodevelopfrom
feature/reset-button

Conversation

@stevegrunwell
Copy link
Copy Markdown
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
Copy Markdown
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?

Comment thread src/Admin.php Outdated
Comment thread src/OrderLimiter.php
@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