Code Stopped Working After Update
- 
		I had been using this code to show profile fields on a member’s card in the directory. It was working perfectly until the last BuddyPress update. After the update it disappeared. (even with all other plugins disabled and on the Twenty-Twenty theme) Is there a fix for this or should I change something in my code? function add_city_to_members_loop() { 
 $field_content = bp_get_member_profile_data( ‘field=City’ );
 if( $field_content != false )
 echo ” – ” . $field_content;
 }
 add_action( ‘bp_directory_members_item’, ‘add_city_to_members_loop’ );
Viewing 2 replies - 1 through 2 (of 2 total)
	
Viewing 2 replies - 1 through 2 (of 2 total)
	
- You must be logged in to reply to this topic.