Developer Resources

A comprehensive list of filters and actions included in our plugin

Hooks / nab_javascript_editor_globals

apply_filters( ‘nab_javascript_editor_globals’, array $globals )

Filters global variables and functions in the JavaScript editor to prevent it from showing linter warnings when using one of those.

Parameters

$globals array

(Required) List of global variables and functions. Default: empty array.