3min

wpgmza_plugin_get_localized_data

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

ο»Ώ

Updated 27 Jun 2022
Did this page help you?
Yes
No