This is a simple and opinionated plugin for helping develop/debug WooCommerce & extensions. DO NOT USE ON A PRODUCTION SERVER.
Once activated, this plugin will make WordPress use HTTP_X_FORWARDED_FOR
for all your links instead of your site URL. No configuration needed.
We like to use NGrok for this.
Adds a "renew" link to each subscription under WooCommerce > Subscriptions for easy renewal processing. This is particularly useful for testing payment gateways that supports subscriptions.
Allows for minutes and hours-long Subscription periods for quicker testing.
Allows for minutes and hours-long Membership lengths for quicker testing.
Adds a testing payment gateway that will call the $order->payment_complete()
method to simulate a credit card payment. Can also be used for Subscriptions automatic renewals.
wp_debug_backtrace()
- helper for using thedebug_backtrace()
function with a bit more sanitywp_var_dump()
- helper forvar_dump
, allowing you to return the output instead of printingwp_var_log()
- helper forerror_log
that usesprint_r()
or optionallywp_var_dump()
wp_print_r()
- helper forprint_r
that wraps the output in<pre>
HTML tagswc_dev_session
- JS helper to get all the current session data in console
- Removes the WooCommmerce Updater notice
- Removes the strong password requirement for customer accounts
- Helper for logging actions/filters fired during a page load -- simply add
?wcdh_hooks=actions|filters|all
, reload the page, and your desired hooks will be printed to the error log, along with the fired count
Download and install just like any other WordPress plugin. If you want to be really fancy, symlink it into your installs instead.
- Tweak - Add a field at checkout when selecting the bogus payment gateway to specify the desired payment result
- Fix - Fix support for ngrok.io
- Misc - Remove support for ForwardHQ
- Refactor - Use namespaces and rename classes
- Tweak - Add support for ngrok
- Fix - Ensure images load for products when using an https tunnel
- Misc - Require PHP 5.3+
- Fix - Remove WC 3.3+ "Connect to WooCommerce" notice when official plugins are active
- Tweak - Remove dependency on WooCommerce
- Tweak - Add support for domain forwarding as early as possible
- Feature - Use the Bogus gateway for Subscriptions automatic renewals
- Fix - Subscriptions integration throwing a warning in WooCommerce 3.0+
- Feature - Adds a bogus gateway that calls
$order->payment_complete()
when used
- Feature - Dump the current session in AJAX to display in browser console
- Tweak - Filter the human access length for membership plans that have a length in minutes or hours set via this helper plugin (Memberships 1.7.2+)
- Fix - Minutes and hours-long periods in membership plans did not work properly or when creating a user membership in admin and setting the length from the membership plan default
- Feature - Added minutes and hours Subscription periods for quicker Subscriptions testing
- Feature - Added Memberships support with minutes and hours Memberships periods for quicker access and dripping testing
- Feature - Added
wp_print_r()
helper function
- Feature - Removes WooCommerce 2.5+ strong password requirement for customer registration
- Feature - Subscriptions 2.0 Compatibility
- Fix - Fix is_ssl() when using Forward
- Initial Release