add_post_type_support: Parameters

By the Web Warlock, Wednesday, 28/Jul/2010 4:21

$post_type
(string) (required) Post type. (max. 20 characters).
Default: None
$supports
(single string or array) (required) The post type feature to add.
Default: None

  • title
  • editor (content)
  • author
  • thumbnail (featured image) (current theme must also support post-thumbnails)
  • excerpt
  • trackbacks
  • custom-fields
  • comments (also will see comment count balloon on edit screen)
  • revisions (will store revisions)
  • page-attributes (template and menu order) (hierarchical must be true)

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment