# Documentation on fl\_builder\_render\_js might be outdated?

**URL:** <https://community.wpbeaverbuilder.com/t/documentation-on-fl-builder-render-js-might-be-outdated/18538>\
**Category:** Developers\
**Created:** [May 7, 2024, 12:53pm UTC](https://community.wpbeaverbuilder.com/t/documentation-on-fl-builder-render-js-might-be-outdated/18538 "2024-05-07T12:53:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jms\_smart](https://community.wpbeaverbuilder.com/letter_avatar_proxy/v4/letter/j/b77776/32.png) [@jms\_smart](https://community.wpbeaverbuilder.com/u/jms_smart)\
**Post date:** [May 7, 2024, 12:53pm UTC](https://community.wpbeaverbuilder.com/t/documentation-on-fl-builder-render-js-might-be-outdated/18538/1 "2024-05-07T12:53:06Z")

</div>

The filter ‘fl\_builder\_render\_js’ looks to be outdated / missing 1 parameter in the documentation

> **[Common Beaver Builder filter examples | Beaver Builder Knowledge Base](https://docs.wpbeaverbuilder.com/beaver-builder/developer/tutorials-guides/common-beaver-builder-plugin-filter-examples/#modify-the-javascript-compiled-and-cached)**
>
> Beaver Builder has many filters. This article describes how to use some of the common ones.

In the code it has 4 parameters, and the documentation has 3. The 4th is $include\_global which as I can see looks to be for the global js. This was a neat parameter for the place where i used the filter, as this allowed me to use “native parameters” for inserting the javascript only once.

If you where to follow the example in the documentation it’ll console.log(“hello world!”) multiple times. Atleast it did for me, i have themer layout (header and footer) activated if that affects it.

Anyways, the $include\_global parameter is useful if you want to include som js only once 🙂
