Digital Sovereignty for everyone

Hooks

All hooks are filters, and all names are built from the plugin namespace lh_breadcrumbs.

lh_breadcrumbs_group_subnav_label

Filters the label of a BuddyPress group admin sub-nav crumb. Receives the label, the sub-nav slug and the group ID.

add_filter( 'lh_breadcrumbs_group_subnav_label', function( $label, $subnav_slug, $group_id ) {
    if ( $subnav_slug === 'my-custom-screen' ) {
        return __( 'My Custom Screen', 'my-plugin' );
    }
    return $label;
}, 10, 3 );

lh_breadcrumbs_metabox_post_types

Filters the post types that get the Breadcrumb Label panel in the block editor (and whose label override meta is registered). Default: every public post type except BuddyPress’s internal ones.

lh_breadcrumbs_label_meta_key

Filters the post meta key that holds a post’s breadcrumb label override. Default: _lh_breadcrumbs_label. The block editor panel uses this default key, so changing it only affects server-side reads and meta registration.

lh_breadcrumbs_allowed_breadcrumb_html

Filters the wp_kses allowlist used when the breadcrumb block is printed in place of the native WooCommerce breadcrumb. Default: the post allowlist plus the Schema.org attributes and position meta tag the plugin adds.

lh_breadcrumbs_init_plugin

Return false to stop the plugin from registering any of its hooks. Default: true.

If you like this plugin please consider making a donation to further development

Install LHero.org

lhero.org

Open it straight from your home screen, full screen and quicker to load.

  1. Tap the Share button . If you cannot see it, tap ••• first.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add.
  1. Tap the browser menu â‹®.
  2. Tap Install app or Add to Home screen.
  1. In the menu bar, choose File, then Add to Dock.

Use your browser's menu to install this site or add it to your home screen.