This commit is contained in:
ThemeLexus 2019-10-03 11:31:02 +07:00
parent 58ead645c6
commit 517d9b2110

View File

@ -116,7 +116,7 @@ class OpalEstate_Agency {
*/
public static function get_avatar_url( $userID, $size='thumbnail' ) {
$id = get_post_meta( $userID, OPALESTATE_AGENCY_PREFIX . 'avatar_id', true );;
$id = get_post_meta( $userID, OPALESTATE_AGENCY_PREFIX . 'avatar_id', true );
$url = wp_get_attachment_image_url( $id, $size );
if( $url ) {