Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #25341, comment 5


Ignore:
Timestamp:
09/17/2013 06:50:45 PM (11 years ago)
Author:
norcross
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25341, comment 5

    v1 v2  
    11the Codex indicates that it'll return a string or array, and says multiple could exist: http://codex.wordpress.org/Function_Reference/is_post_type_archive
    22
    3 based on the docs, it's because you can declare one CPT or check for a particular one.
     3based on the docs, it's because you can declare one CPT or check for a whether you are on any CPT archive page.