WordPress at a glance
Главная Functions Posts, pages... Custom Types

Custom Types (рубрика)

add_post_type_support()

Register support of certain features for a post type.

get_post_permalink()

Retrieves the permalink for a post of a custom post type.

get_post_type()

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

get_post_type_archive_link()

Retrieves the permalink for a post type archive.

get_post_type_object()

Retrieves a post type object by name.

get_post_types()

Get a list of all registered post type objects.

get_the_post_type_description()

Retrieves the description for a post type archive.

is_post_type_archive()

Is the query for an existing post type archive page?

is_post_type_hierarchical()

Whether the post type is hierarchical.

is_post_type_viewable()

Determines whether a post type is considered "viewable".

post_type_archive_title()

Display or retrieve title for a post type archive.

post_type_exists()

Check if a 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 a post type.