[PHP] get_current_user()

get_current_user() (funzione PHP) restituisce il nome dell’utente con i privilegi che sta eseguendo lo script PHP corrente.

tips&tricks

Sintassi

get_current_user()
parametro descrizione
Nessuno

Esempi

echo get_current_user(); // root

Contenuti correlati

  • CSS
  • HTML
  • JavaScript
  • jQuery
  • PHP
  • SQL
  • WORDPRESS

Fonti esterne

funzioni php, php

Related Articles

0 Comment

Rispondi