• Resolved lucia116

    (@lucia116)


    I put the code below in the child theme.

    add_filter( 'um_localize_permalink_filter', 'my_localize_permalink', 10, 2 );
    function my_localize_permalink( $link, $user ) {
    	// your code here
    	return '/user/'.$user->user_nicename.'';
    }

    I want to add WPML parameters at the very end of the return value.
    Does anyone know the code?

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

The topic ‘Theme function.php parameter’ is closed to new replies.