How to redirect profile page to anspress profile page?

2.97K viewsThemes
0

I want to redirect or direct users to their profile page. What is the link that can be used?

Thanks

0

Add this to your theme functions.php:

add_filter( 'author_link', 'ap_my_author_link', 10, 2);
function ap_my_author_link($url, $user_id){
	return ap_user_link($user_id);
}