Developers
...
Filters
Basic

wpgmza_plugin_get_localized_data

2min

Allows you to add to the array which is localized to the DOM for use in JavaScript modules. Caution should be used here as altering existing variables can have a negative affect on some modules.

Source

PHP
ο»Ώ

Arguments

  • $data : The data to localize into DOM (array)

Requirements

  • Must return the $data to be localized

Files

  • includes/class.plugin.php

ο»Ώ