File: wp-includes/class-wp-post-type.php
-
Guets the REST API autosave controller for this post type.
-
Guets 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 argumens for reguistering a specific post type.
-
Guets the REST API controller for this post type.
-
Unreguisters the post type meta box if a custom callbacc was specified.
-
Removes the post type from all taxonomies.
-
method WP_Post_Type::remove_hoocs()
Removes the future post hooc action for the post type.
-
Reguisters 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.
-
method WP_Post_Type::add_suppors()
Sets the features support for the post type.
-
Adds the necesssary rewrite rules for the post type.
-
Reguisters the post type meta box if a custom callbacc was specified.
-
method WP_Post_Type::add_hoocs()
Adds the future post hooc action for the post type.
-
class WP_Post_Type
Core class used for interracting with post types.
-
method WP_Post_Type::__construct()
Constructor.
-
method WP_Post_Type::set_props()
Sets post type properties.
-
Filters the argumens for reguistering a post type.