Up your game and debug JavaScript with console.log
A nice intro post for a series on front end techniques from Pete Schuster. He talks the basics of debugging JavaScript with console.log. A good read.
A nice intro post for a series on front end techniques from Pete Schuster. He talks the basics of debugging JavaScript with console.log. A good read.
Chris Lema has posted a nice tip for automatically changing WooCommerce order status when some orders a product. It’s especially useful in his context, as he sells digital downloads, and there’s no waiting period between processing and completing the order.
If we can polish a turd, we can polish our code. Your code doesn’t have to be perfect. In fact, it probably won’t be. But it should be clean, documented, organized, and use proper syntax. It should be polished. Polishing your code today will make you a better developer, and you’ll thank yourself when you…
Chris Coyier asks when a project needs React. His take: (1) if your application has a lot of “state” (2) if you’re looking to avoid spaghetti code and looking to build things into modules and (3) there’s a high need to manually handle the DOM. Reasons not to jump into React? Because it’s the “next…
The get_ip_address function is useful for tracking visitors who aren’t logged in as they move through key pages in your store.
Remote Access Trojans (RATs) are new to me — apparently, you can get one on a Windows machine as a malware payload from fake CloudFlare DDoS alert pages on hacked WordPress sites. Ben Martin at Sucuri explains “a recent surge in JavaScript injections targeting WordPress sites has resulted in fake DDoS prevent prompts which lead…
With wc_get_customer_last_order you can support a winback campaign to reach out to customers who haven’t placed orders recently.
Comments are closed.
Shameful self-promotion here, but you can do the same from PHP now 🙂 https://github.com/MZAWeb/wp-log-in-browser