The wp_localize_script function is primarily used to allow Wordpress to translate strings into multiple languages. It has another, more useful, ability though; it allows you to pass any data you like from your PHP scripts [...]
If you’re not failing every now and again, it’s a sign you aren’t doing anything very innovative.
Thank you for everything you’ve done to make Campus Compact’s website a success. We know how much work went into this project, and we’re grateful both for how much you’ve done and for the fantastic quality of the work.