Skip to content

Instantly share code, notes, and snippets.

Avatar
💻

Tom McFarlin tommcfarlin

💻
View GitHub Profile
View ajax-reg.js
/**
* This file is enqueued by means of wp_enqueue_script() - variables are passed
* in from PHP by means of wp_localize_script()
*
*/
/* TM: We use an anonymous function to invoke the JavaScript. Also refactored for proper
* WordPress coding standards.
*/
(function( $ ) {