apply_filters( 'findstr_front_script_data', $data ) → {array}
Filter the front script data.
This filter is used to pass data to the front script, such as the configuration, translations, etc.
This data will be available in the front script in the global variable findstr
Parameters:
Name | Type | Description |
---|---|---|
$data |
array |
- Source:
Returns:
$data
- Type
- array