Filter: jb_common_js_variables

apply_filters( 'jb_common_js_variables', $localize_data ) → {array}

Filters the data array that needs to be localized inside wp-admin or frontend global JS.

Parameters:
Name Type Description
$localize_data array

Array with some data for JS.

Since:
  • 1.1.0
Source:
Returns:

Data for localize in JS.

Type
array