Changes between Version 1 and Version 2 of Ticket #25341, comment 5
- Timestamp:
- 09/17/2013 06:50:45 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25341, comment 5
v1 v2 1 1 the 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 2 2 3 based on the docs, it's because you can declare one CPT or check for a particular one.3 based on the docs, it's because you can declare one CPT or check for a whether you are on any CPT archive page.