@fatihaslann
9 years, 3 months ago
I place this code in function.PHP
function my_cache_avatar_url() { update_user_meta( bp_displayed_user_id(), 'modemloopers_awesome_avatar_url', bp_core_fetch_avatar( 'html=false&item_id=' . bp_displayed_user_id() ) ); } add_action( 'xprofile_screen_change_avatar', 'my_cache_avatar_url' );
But my web site show white screen
Where should I place on which page this code?