Warning: Trying to access array offset on value of type bool in /var/www/vhosts/bluecellardoor.net/httpdocs/wp-content/themes/dev/single.php on line 17
Warning: Trying to access array offset on value of type bool in /var/www/vhosts/bluecellardoor.net/httpdocs/wp-content/themes/dev/single.php on line 29

Warning: Trying to access array offset on value of type bool in /var/www/vhosts/bluecellardoor.net/httpdocs/wp-content/themes/dev/single.php on line 30
/>

BCD__getUserById()

Simile al filtro “userFromId” genera una label data una ID utente (anche in questo caso, come per il filtro, forse sarebbe meglio aggiornare all’email come dato unico)
La funzione filtra il gruppo utenti ($scope.BCD.user.users) alla ricerca di quell’oggetto che ha come paramentro ID la id passata.

Parametri

Accetta un oggetto (obj).

Parametri obbligatori
  • “ID” (id utente)
Parametri opzionali
  • “kind”: definisce il tipo di output
    • display_name