WordPress.org

Make WordPress Core

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


Ignore:
Timestamp:
05/30/11 18:11:06 (4 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17620, comment 4

    initial v1  
    33{{{ 
    44$filtered = array(); 
    5 foreach( get_post_types() as $post_type ) { 
     5foreach ( get_post_types() as $post_type ) { 
    66  if ( post_type_supports( $post_type, 'title' ) ) { 
    77    $filtered[] = $post_type;