I'm building a onepage website, using the Pootle Page Building plugin. With get_page, I show every separate page on 1 page. To target the Pootle Page Builder content, I'm using the following code:

    $content = $GLOBALS['Pootle_Page_Builder_Render_Layout']->panels_render( $page_data->ID );

When I try to implement a plugin like a carousel, where I need to use a shortcode, the shortcode doens't work.

For the shortcode to work, I need to use

    apply_filters('the_content', $page_data->post_content);

Except, instead of `'the_content'`
I use:

    $content = $GLOBALS['Pootle_Page_Builder_Render_Layout']->panels_render( $page_data->ID );

Does anyone perhaps know how I can add apply_filters to `$GLOBALS['whatever']` so the shortcodes will work