WordPress at Your Fingertips

Custom post type (post_type) (tag)

add_post_type_support()

Register support of certain features for a post type.

get_post_type()

Retrieves the post type of the current post or of a given post.

get_post_type_object()

Retrieves a post type object by name.

get_post_types()

Get a list of all registered post type objects.

is_post_type_hierarchical()

Checks if the post type is hierarchical.

is_post_type_viewable()

Determines whether a post type is considered "viewable".

post_type_exists()

Determines whether the specified post type is registered.

post_type_supports()

Check a post type's support for a given feature.

register_post_type()

Registers a post type.

remove_post_type_support()

Remove support for a feature from a post type.

set_post_type()

Update the post type for the post ID.

unregister_post_type()

Unregisters (deletes) a post type.