Post and Page Builder by BoldGrid icon
Page Builders & Blocks

Post and Page Builder by BoldGrid hooks reference

  • By BoldGrid
  • v1.27.15
  • Updated

Post and Page Builder by BoldGrid 1.27.15 has 8 actions and 19 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.

How to use these hooks

Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.

functions.phpyour child theme
// Run your own code when Post and Page Builder by BoldGrid fires an action
add_action( 'boldgrid_editor_scripts_builder', function() {
	// Your code runs here.
}, 10, 1 );

// Change a value Post and Page Builder by BoldGrid is about to use
add_filter( 'Boldgrid\Editor\Media\Layout\exludedPosts', function( $post_ids ) {
	// Change $post_ids here.
	return $post_ids;
}, 10, 1 );

Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.

All hooks

  • includes/media/class-boldgrid-editor-layout.php line 204
    /**
     * Allows you to exlude pages from parsing.
     */
    apply_filters( 'Boldgrid\Editor\Media\Layout\exludedPosts', $post_ids );
  • includes/class-boldgrid-editor-assets.php line 513
    /**
     * Overrdie any of the variables sent to the front end application.
     */
    apply_filters( 'BoldgridEditor\PageBuilder', $vars );
  • includes/class-boldgrid-editor-theme.php line 390
    /**
     * Allow other theme developers to indicate that they would like all BG edit
     * tools enabled.
     */
    apply_filters( 'is_editing_boldgrid_theme', $is_editing_boldgrid_theme );
  • includes/builder/class-boldgrid-editor-builder.php line 146
    /**
     * Allow 3rd-Party Themes to add buttons. BGTFW Themes do this with theme
     * configs or customizer controls, but 3rd-Party developers only need to
     * provide button names and classes.
     */
    apply_filters( 'third_party_theme_button_classes', array() );
  • includes/class-boldgrid-editor-premium.php line 64 · used in 5 places
    apply_filters( 'boldgrid_editor_premium_url', $config['urls']['premium_key'] . '?source=ppbp-admin-menu' );
  • includes/builder/class-boldgrid-editor-builder.php line 171 · used in 2 places
    apply_filters( 'bgtfw_button_classes', array() );
  • includes/Widget/Menu.php line 188 · used in 2 places
    do_action( "boldgrid_menu_{$location_id}", array( 'menu_class' => $menu_direction . ' ' . $class, 'menu' => $menu_id, 'menu_id' => $menu_ul_id ) );
  • includes/View/Settings.php line 178
    do_action( "bgppb_form_{$action}" );
  • includes/class-boldgrid-editor-admin-pointers.php line 82
    apply_filters( "boldgrid_editor_admin_pointers-{$screen_id}", array() );
  • includes/class-boldgrid-editor-mce.php line 403
    apply_filters( 'boldgrid_editor_after_editor_styles', $mce_css );
  • includes/class-boldgrid-editor-mce.php line 331
    apply_filters( 'boldgrid_editor_before_editor_styles', $styles );
  • includes/class-boldgrid-editor-assets.php line 466
    apply_filters( 'boldgrid_editor_font_weight_names', array( '100' => 'Extra Thin', '200' => 'Thin', '300' => 'Light', '400' => 'Regular', '500' => 'Medium', '600' => 'Bold', '700' => 'Thick', '800' => 'Extra Thick', ) );
  • includes/media/class-boldgrid-editor-layout.php line 331
    apply_filters( 'boldgrid_editor_get_existing_layouts', $row_content );
  • includes/config/config.plugin.php line 38
    apply_filters( 'boldgrid_editor_new_key_url', 'https://www.boldgrid.com/central/account/new-key' );
  • includes/class-boldgrid-editor-premium.php line 167
    apply_filters( 'boldgrid_editor_premium_download_url', $url );
  • includes/class-boldgrid-editor-assets.php line 671
    do_action( 'boldgrid_editor_scripts_builder' );
  • includes/class-boldgrid-editor-assets.php line 279
    do_action( 'boldgrid_editor_scripts_public' );
  • includes/template/page/body.php line 24
    do_action( 'boldgrid_editor_sidebar' );
  • includes/class-boldgrid-editor-templater.php line 286
    do_action( 'boldgrid_editor_template' );
  • includes/builder/class-boldgrid-editor-builder.php line 455
    do_action( 'boldgrid_feedback_add', $item['action'], $item['data'] );
  • includes/class-boldgrid-editor.php line 59
    apply_filters( 'boldgrid-media-modal-config', $tab_configs );
  • includes/class-boldgrid-editor-assets.php line 444
    apply_filters( 'Boldgrid\Library\Library\Notice\ClaimPremiumKey_enable', false );
  • includes/View/Card/Premium.php line 32
    apply_filters( 'Boldgrid\Library\License\getApiKey', '' );
  • includes/class-boldgrid-editor-config.php line 72
    apply_filters( 'BoldgridEditor\Config', $configs );
  • includes/class-boldgrid-editor-assets.php line 529
    apply_filters( 'ppb_get_onboarding_videos', array() );
  • includes/media/class-boldgrid-editor-layout.php line 317
    apply_filters( 'pre_boldgrid_editor_get_existing_layouts', $pages );
  • wp_body_open

    action
    includes/template/page/content-only.php line 12
    do_action( 'wp_body_open' );

Generated from Post and Page Builder by BoldGrid's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Can't find the right hook?

We can build the customisation for you. Describe what you need: