Ultimate Member Problem

8.03K viewsUpdates
1

With last update 2.4 i can’ use anymore this solutions for ultimate member.

/**
 * This filter will disable AnsPress user profile
 */
add_filter( 'ap_user_profile_active', '__return_false');
/**
 * This will override default AnsPress user page link
 * @param  integer $user_id User id.
 * @return string
 */
function my_custom_profile_link ($user_id) {
	return home_url('/user/').$user_id;
}
add_action( 'ap_user_custom_profile_link', 'my_custom_profile_link' );

And when i try to open some profiles report me 404 error.

How i can fix this problem now?

0

Simply go to AnsPress option -> users and select Ultimate member as your profile:

Notthing. Still don’t work with ultimate member.
Actually, i can’t select ultimate member, but just: BuddyPress, Anspress, empty and User Pro

You are viewing 1 out of 4 answers, click here to view all answers.