Opened 20 months ago
Last modified 20 months ago
#18746 new enhancement
Make is_tag() accept a term name or term id
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | General | Version: | 3.3 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
The is_category() function recieves as a parameter Category ID, Category Name or Category Slug.
So is the is_tax() function, it recieves as a parameter Term ID, Term Name or Term Slug.
But the is_tag() function can recieve only Tag Slug.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.

changes based on is_category() function