HEX
Server: nginx/1.24.0
System: Linux nowruzgan 6.8.0-57-generic #59-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 15 17:40:59 UTC 2025 x86_64
User: babak (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/school/wp-content/themes/blocksy/inc/integrations/avatars.php
<?php

if (! function_exists('blocksy_get_avatar_alt_for')) {
	function blocksy_get_avatar_alt_for($user_id) {
		global $simple_local_avatars;

		if ($simple_local_avatars) {
			$alt = $simple_local_avatars->get_simple_local_avatar_alt($user_id);

			if (! empty($alt)) {
				return $alt;
			}
		}

		return blocksy_get_the_author_meta('display_name', $user_id);
	}
}