Inside buddypress/bp-templates/bp-nouveau/includes/template-tags.php I founded this function bp_nouveau_get_single_item_nav_classes().
Inside this function I can see that has an option that I want to change ‘user_nav_display’. Then the end line of this function is a filter, but I can’t able to do some debug. I’m using wp_die, var_dump and nothing happens when I tried to use a callback function attached to this filter.
/**
* Filters the final results for BuddyPress Nouveau container classes.
*
* This filter will return a single string of concatenated classes to be used.
*
* @since 3.0.0
*
* @param string $value Concatenated classes.
* @param array $classes Array of classes that were concatenated.
*/
return apply_filters( ‘bp_nouveau_get_container_classes’, join( ‘ ‘, $class ), $classes );