Beispiel #1
0
/**
 * Get the avatar of a talent.
 *
 * @param WP_Post|int $post The post object or ID.
 * @param int         $size The desired avatar size
 *
 * @return mixed            The avatar URL on success,
 *                          false if the post does not exist.
 */
function wptalents_get_avatar($post = null, $size = 144)
{
    return Helper::get_avatar(get_post($post), $size);
}