Feb 07, 2022 10:52 pm
Hello, I'd like to know what is the name of the custom field used as an avatar for users. I need to call it in a different page and I don't know the name.... thanks in advance
3 Replies
Feb 08, 2022 1:16 pm
Hi @lucasvlc,
wpForo is well integrated with WordPress, and if you Enable Replace Author Avatar with Forum Profile Avatar from Dashboard > Forums > Settings > Features you can call Avatars using the below WordPress Function code:
get_avatar( mixed $id_or_email, int $size = 96, string $default = '', string $alt = '', array $args = null )
Feb 08, 2022 5:20 pm
Ok, but I need to change the avatar from a form in the account page... I am building a dashboard and it has a form where user can update the data from his profile. For this I need to know where is the avatar data managed by WPForo saved...