Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Remove forum prefix before users

@robin-w

Moderator

I think this should do it, but check that it works, and try it from topics/replies freshness etc.

add_filter ('bbp_get_user_slug' , 'rew_get_user_slug' ) ;

function rew_get_user_slug ($slug) {
	$default = 'users' ;
	// Filter & return
	return apply_filters( 'rew_get_user_slug', get_option( '_bbp_user_slug', $default ) );
}

Put this in your child theme’s function file –

ie wp-content/themes/%your-theme-name%/functions.php

where %your-theme-name% is the name of your theme

or use

Code Snippets

Skip to toolbar