Tag: Javascript
-
Add Extra Columns to WooCommerce Reports
It’s possible you’ve followed this tutorial from Woo on how to add columns to admin reports, such as the Orders report. And it’s possible you’ve found that it just doesn’t really work as advertised and is incredibly convoluted. Specifically, the Javascript filter callback you register (addFilter) is just…never called. Me too. Here’s something that actually…
-
Handle Multiple reCAPTCHA’s on the Same Page
reCAPTCHA’s default configuration hijacks pretty much everything about form submission. So anything you want to do with the form, such as validation, will need to be fired in the configured callback function, rather than on the traditional submit event. This is pretty simple for most scenarios because you can use the form’s HTML ID to…