Breadcrumb icon
SEO

Breadcrumb hooks reference

  • By PickPlugins
  • v1.5.54
  • Updated

Breadcrumb 1.5.54 has 9 actions and 11 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 Breadcrumb fires an action
add_action( 'breadcrumb_main', function( $atts ) {
	// Your code runs here.
}, 10, 1 );

// Change a value Breadcrumb is about to use
add_filter( 'breadcrumb_items_array', function( $breadcrumb_items ) {
	// Change $breadcrumb_items here.
	return $breadcrumb_items;
}, 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

  • templates/breadcrumb/breadcrumb-hook.php line 15
    apply_filters( 'breadcrumb_items_array', $breadcrumb_items );
  • includes/class-shortcodes.php line 40
    do_action( 'breadcrumb_main', $atts );
  • templates/breadcrumb/breadcrumb-hook.php line 32
    do_action( 'breadcrumb_main_end', $atts );
  • templates/breadcrumb/breadcrumb-hook.php line 26
    do_action( 'breadcrumb_main_item_loop', $item );
  • includes/functions.php line 314
    apply_filters( 'breadcrumb_page_views', $views );
  • includes/functions.php line 56
    apply_filters( 'breadcrumb_pages_objects', $objects );
  • includes/menu/settings.php line 106
    do_action( 'breadcrumb_settings_save' );
  • includes/menu/settings.php line 68
    apply_filters( 'breadcrumb_settings_tabs', $breadcrumb_settings_tab );
  • includes/menu/settings.php line 166
    do_action( "breadcrumb_settings_tabs_content_{$id}", $tab );
  • includes/menu/settings.php line 145
    do_action( "breadcrumb_settings_tabs_right_panel_{$id}" );
  • includes/functions-settings.php line 356
    do_action( "breadcrumb_tag_options_{$elementId}", $args );
  • includes/functions-settings.php line 277
    do_action( "breadcrumb_tag_options_{$tagIndex}" );
  • includes/functions.php line 254
    apply_filters( 'breadcrumb_tags', $tags );
  • includes/functions-settings.php line 530
    apply_filters( 'breadcrumb_theme_args', array( 'theme1' => array('name' => 'theme1', 'thumb' => breadcrumb_plugin_url . 'assets/admin/images/theme1.png'), 'theme2' => array('name' => 'theme1', 'thumb' => breadcrumb_plugin_url . 'assets/admin/images/theme2.png'), 'theme3' => array('name' => 'theme1', 'thumb' => breadcrumb_plugin_url . 'assets/admin/images/theme3.png'), 'theme4' => array('name' => 'theme1', 'thumb' => breadcrumb_plugin... );
  • includes/themes-css.php line 184
    apply_filters( 'breadcrumb_themes_css', $breadcrumb_themes_css );
  • plugin_locale

    filter
    breadcrumb.php line 60
    apply_filters( 'plugin_locale', get_locale(), 'breadcrumb' );
  • includes/class-settings-tabs.php line 204
    do_action( "settings_tabs_field_{$type}", $option );

Generated from Breadcrumb'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: