JavaScript for WordPress JavaScript for WordPress

Localize Script

Zac Gordon
JS for WordPress
Check out a free preview of the full JavaScript for WordPress course:
The "Localize Script" Lesson is part of the full, JavaScript for WordPress course featured in this preview video. Here's what you'd learn in this lesson:

Zac examines the wp_localize_script() function, which allows taking data from PHP to make available to Javascript.

Get Unlimited Access Now