Filter: RCB/Blocker/InlineScript/AvoidBlockByLocalizedVariable

apply_filters( 'RCB/Blocker/InlineScript/AvoidBlockByLocalizedVariable', $variables, $script ) → {Array.<string>}

Check if a given inline script is blocked by a localized variable name (e.g. `wp_localize_script`).
Parameters:
Name Type Description
$variables Array.<string>
$script string
Since:
  • 1.14.1
Returns:
Type
Array.<string>