Kenny Lajara (@kennylajara)

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • @kennylajara

    Participant

    Nope, it doesn’t work. This is used only for, like, categorize the strings.

    @kennylajara

    Participant

    I tried changing the hook and nothing happened. This is my code now:

    /* Translate Users profile slug with Polylang */
    add_action( 'plugins_loaded','bbp_polylang_integration' );
    function bbp_polylang_integration() {
    	if ( function_exists( 'pll_register_string' ) ) {
    		pll_register_string( 'slug_users', '_bbp_user_slug', 'URL slugs' );
    	}
    } 

    About this:

    so is the context right – maybe ‘Polylang’ which seems to be the default?

    I don’t really understand what you mean.

Viewing 2 replies - 1 through 2 (of 2 total)