uapte:
This commit is contained in:
parent
58ead645c6
commit
517d9b2110
@ -116,7 +116,7 @@ class OpalEstate_Agency {
|
|||||||
*/
|
*/
|
||||||
public static function get_avatar_url( $userID, $size='thumbnail' ) {
|
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 );
|
$url = wp_get_attachment_image_url( $id, $size );
|
||||||
|
|
||||||
if( $url ) {
|
if( $url ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user