How to disable bbPress breadcrumbs

bbPress doesn’t offer an option to disable the breadcrumb navigation, but we can do it with a little bit of code.

function jp_bbp_no_breadcrumb ($param) {
  return true;
}
add_filter ('bbp_no_breadcrumb', 'jp_bbp_no_breadcrumb');

There’s also another way to do it without defining a custom function by using the built-in WordPress function __return_true.

add_filter( 'bbp_no_breadcrumb', '__return_true' );

Leave a Reply

Subscribe without commenting