I'm trying to edit just a few pieces of bbpress' breadcrumb default settings, but the filters I've tried end up replacing the whole function. How do you replace only bits? Here is the filter as it stands now
function custom_bbp_breadcrumb() {
$args = array (
'before' => '<div class="bbp-breadcrumb">',
'after' => '</div>',
'sep' => __( '›', 'bbpress' ),
);
return $args;
}
add_filter('bbp_get_breadcrumb', 'custom_bbp_breadcrumb' );
I could copy + paste the whole function and filter that, but that would be extremely inefficient.