has_term [ WordPress Function ]
has_term ( $term = '', $taxonomy = '', $post = null )
| Parameters: |
|
| Returns: |
|
| Defined at: |
|
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Function Reference/has term « WordPress Codex
Description. Check 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 ...
codex.wordpress.org - #12526 (Introduce has_term() to the tax API) – WordPress Trac
added. introduces has_term, deprecates in_category in favor of has_category, and has_category and has_tag are wrappers for has_term ...
core.trac.wordpress.org - has_term() function | WordPress Snippets
Feb 22, 2011 ... Ok, you created a Custom Post Type and some Custom Taxonomies for it. Now you want to check wether your post has a term (aka category) ...
wp-snippets.com - custom taxonomy - has_term if/echo else/echo function - WordPress
May 26, 2011 ... ok so i have a nav menu with the top level of menu items being static pages. When you highlight or visit one of them there is a sub-menu that ...
wordpress.stackexchange.com