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.
// 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
-
/** * Allows you to exlude pages from parsing. */ apply_filters( 'Boldgrid\Editor\Media\Layout\exludedPosts', $post_ids ); -
BoldgridEditor\PageBuilder
filter/** * Overrdie any of the variables sent to the front end application. */ apply_filters( 'BoldgridEditor\PageBuilder', $vars ); -
is_editing_boldgrid_theme
filter/** * 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 ); -
/** * 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() ); -
bgtfw_button_classes
filterapply_filters( 'bgtfw_button_classes', array() ); -
bgppb_form_{$action}
actiondo_action( "bgppb_form_{$action}" ); -
apply_filters( "boldgrid_editor_admin_pointers-{$screen_id}", array() ); -
apply_filters( 'boldgrid_editor_after_editor_styles', $mce_css ); -
apply_filters( 'boldgrid_editor_before_editor_styles', $styles ); -
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', ) ); -
apply_filters( 'boldgrid_editor_get_existing_layouts', $row_content ); -
boldgrid_editor_new_key_url
filterapply_filters( 'boldgrid_editor_new_key_url', 'https://www.boldgrid.com/central/account/new-key' ); -
do_action( 'boldgrid_editor_scripts_builder' ); -
do_action( 'boldgrid_editor_scripts_public' ); -
boldgrid_editor_sidebar
actiondo_action( 'boldgrid_editor_sidebar' ); -
boldgrid_editor_template
actiondo_action( 'boldgrid_editor_template' ); -
boldgrid_feedback_add
actiondo_action( 'boldgrid_feedback_add', $item['action'], $item['data'] ); -
boldgrid-media-modal-config
filterapply_filters( 'boldgrid-media-modal-config', $tab_configs ); -
apply_filters( 'Boldgrid\Library\License\getApiKey', '' ); -
BoldgridEditor\Config
filterapply_filters( 'BoldgridEditor\Config', $configs ); -
ppb_get_onboarding_videos
filterapply_filters( 'ppb_get_onboarding_videos', array() ); -
apply_filters( 'pre_boldgrid_editor_get_existing_layouts', $pages ); -
wp_body_open
actiondo_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: