findstr_front_script_data

apply_filters( 'findstr_front_script_data', $data array )

  add_filter( '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

NameTypeDescription
$dataarray
Returns:

$data

Type: 
array