Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #17620, comment 3


Ignore:
Timestamp:
05/30/2011 06:07:36 PM (15 years ago)
Author:
scribu

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17620, comment 3

    initial v1  
    33Similarly, {{{get_post_types( array( 'supports' => array( 'title', 'editor' ) )}}} will only match post types that only support 'title' and 'editor'. No more, no less.
    44
    5 You will just have to loop through each of them, using post_type_supports(), since there's no elegant way to define the operator between elements in the 'supports' array.
     5Since there's no elegant way to define the operator between elements in the 'supports' array, you will just have to loop through each of them, using post_type_supports(),