Buddypress Integration

After activating the plugin, it seamlessly integrates with BuddyPress. However, to ensure smooth functionality, it's essential to adjust the permalink structure to 'Post Name' or any preferred structure, rather than sticking with the default option.

Afterward, include the following code snippet in the functions.php file of your theme.

add_filter('emqa_get_author_link', 'emqa_buddypress_profile_link', 10, 3);
function emqa_buddypress_profile_link($url, $user_id, $user){
if(function_exists('bp_core_get_user_domain')){
return bp_core_get_user_domain($user_id);
}
return $url;
}

Last updated