Skip to main content

Filter: gravityview_js_localization

Modify the array passed to wp_localize_script().

Parameters​

NameTypeDescription
$js_localizationarrayThe data padded to the Javascript file
$viewsarrayArray of View data arrays with View settings

Source​

  • Defined in src/Frontend/Frontend.php at line 2264
  • Defined in src/Shortcode/ShortcodeRenderer.php at line 763