Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #18106, comment 11


Ignore:
Timestamp:
08/22/2016 07:54:02 AM (8 years ago)
Author:
wordpresssites
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18106, comment 11

    v1 v2  
    1 How about adding a 'post_type' and 'category' argument to `get_tags()` & `get _terms()` so tags can be listed for different post types or categories? The only way to do that now is to use the include or exclude parameters.
     1How about adding a 'post_type' and 'category' argument to `get_tags()` or `get _terms()` or  `get_categories` so tags can be listed for different post types or categories? The only way to do that now is to use the include or exclude parameters.