Tagged: JSON

Rust: JSON stringify and parse in Node.js

I’m learning Rust for a project to build native modules for use with Node.js and it took me a bit of time to figure out how to parse and stringify JSON using serde_json and...

Creating AJAX Functions in WordPress

AJAX Action Hooks Adding an AJAX callback to WordPress 2.8+ is pretty simple – you just need to hook in the wp_ajax_(action) action for admin callbacks, and the wp_ajax_nopriv_(action) action for front-end callbacks. One...

Google Analytics for WordPress Fixed

“Unfortunately, an error occurred while connecting to Google” Google Analytics for WordPress is a great plugin by Yoast to make adding Analytics tracking to your WordPress site easy. All was well until Google updated...