WordPress.org

Make WordPress Core

Ticket #12644: supports.diff

File supports.diff, 780 bytes (added by sillybean, 12 years ago)
  • Users/steph/Documents/code/WordPressSVN/trunk/wp-includes/post.php

     
    873873/**
    874874 * Register support of certain features for a post type.
    875875 *
     876 * Optional $feature contents:
     877 * 'author', 'title', 'editor', 'post-thumbnails', 'excerpts', 'trackbacks', 'custom-fields', 'comments', 'revisions', 'page-attributes'
     878 *
    876879 * @since 3.0
    877880 * @param string $post_type The post type for which to add the feature
    878881 * @param string|array $feature the feature being added, can be an array of feature strings or a single string