wpseek.com
				Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
			has_term › WordPress Function
Seit3.1.0
Veraltetn/v
› has_term ( $term = '', $taxonomy = '', $post = null )
| Parameter: (3) | 
 | 
| Gibt zurück: | 
 | 
| Definiert in: | 
 | 
| Codex: | 
Checks if the current post has any of given terms.
The given terms are checked against the post's terms' term_ids, names and slugs. Terms given as integers will only be checked against the post's terms' term_ids. If no terms are given, determines if post has any terms.