[WORDPRESS] [Funzione] category_exists()

category_exists() (funzione WordPress) verifica se una categoria esiste.

tips&tricks

Sintassi

category_exists($categoria, $genitore[facoltativo])
parametro descrizione
$categoria Il nome della categoria da processare
$genitore L’ID del termine del genitore.

Esempi

category_exists();
/* RISULTATO
XXX
*/

Contenuti correlati

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

Fonti esterne

funzioni wordpress, wordpress

Related Articles

0 Comment

Rispondi