File: wp-includes/class-wp-post-type.php
-
Gets the REST API autosave controller for this post type.
-
Gets the REST API revisions controller for this post type.
-
Returns the default labels for post types.
-
Resets the cache for the default labels.
-
Filters the arguments for registering a specific post type.
-
Gets the REST API controller for this post type.
-
Unregisters the post type meta box if a custom callback was specified.
-
Removes the post type from all taxonomies.
-
Removes the future post hook action for the post type.
-
Sets the features support for the post type.
-
Adds the necessary rewrite rules for the post type.
-
Registers the post type meta box if a custom callback was specified.
-
Adds the future post hook action for the post type.
-
Registers the taxonomies for the post type.
-
Removes the features support for the post type.
-
Removes any rewrite rules, permastructs, and rules for the post type.
-
classWP_Post_Type
Core class used for interacting with post types.
-
Constructor.
-
Sets post type properties.
-
Filters the arguments for registering a post type.