apply_filters( 'jb_enqueue_localize', $localize_data ) → {array}
Filters the data array that needs to be localized inside frontend global JS.
Parameters:
Name | Type | Description |
---|---|---|
$localize_data |
array | Array with some data for JS. |
- Since:
- 1.0
- Source:
Returns:
Data for localize in JS.
- Type
- array