WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/04/2010 04:14:17 AM (12 years ago)
Author:
nacin
Message:

Add docs to add_post_type_support(). fixes #12644, props sillybean.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r13899 r13985  
    878878/**
    879879 * Register support of certain features for a post type.
     880 *
     881 * All features are directly associated with a functional area of the edit screen, such as the
     882 * editor or a meta box: 'title', 'editor', 'comments', 'revisions', 'trackbacks', 'author',
     883 * 'excerpt', 'page-attributes', 'thumbnail', and 'custom-fields'.
     884 *
     885 * Additionally, the 'revisions' feature dictates whether the post type will store revisions,
     886 * and the 'comments' feature dicates whether the comments count will show on the edit screen.
    880887 *
    881888 * @since 3.0.0
Note: See TracChangeset for help on using the changeset viewer.