• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register
WordPress.org
WordPress.org
  • Plugins
  • Themes
  • Patterns
  • Learn
  • Support
    • Documentation
    • Forums
  • News
  • About
  • Get Involved
    • Five for the Future
  • Showcase
  • Mobile
  • Hosting
  • Openverse
  • Get WordPress
Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Reference / wp-includes/class-wp-post-type.php

WP_Post_Type::get_rest_controller()

Method: Gets the REST API controller for this post type.

Source: wp-includes/class-wp-post-type.php:762

Used by 0 functions | Uses 0 functions

WP_Post_Type::unregister_meta_boxes()

Method: Unregisters the post type meta box if a custom callback was specified.

Source: wp-includes/class-wp-post-type.php:726

Used by 0 functions | Uses 1 function

WP_Post_Type::unregister_taxonomies()

Method: Removes the post type from all taxonomies.

Source: wp-includes/class-wp-post-type.php:737

Used by 0 functions | Uses 2 functions

WP_Post_Type::remove_hooks()

Method: Removes the future post hook action for the post type.

Source: wp-includes/class-wp-post-type.php:748

Used by 0 functions | Uses 1 function

WP_Post_Type::add_supports()

Method: Sets the features support for the post type.

Source: wp-includes/class-wp-post-type.php:580

Used by 0 functions | Uses 1 function

WP_Post_Type::add_rewrite_rules()

Method: Adds the necessary rewrite rules for the post type.

Source: wp-includes/class-wp-post-type.php:604

Used by 0 functions | Uses 7 functions

WP_Post_Type::register_meta_boxes()

Method: Registers the post type meta box if a custom callback was specified.

Source: wp-includes/class-wp-post-type.php:648

Used by 0 functions | Uses 1 function

WP_Post_Type::add_hooks()

Method: Adds the future post hook action for the post type.

Source: wp-includes/class-wp-post-type.php:659

Used by 0 functions | Uses 1 function

WP_Post_Type::register_taxonomies()

Method: Registers the taxonomies for the post type.

Source: wp-includes/class-wp-post-type.php:668

Used by 0 functions | Uses 1 function

WP_Post_Type::remove_supports()

Method: Removes the features support for the post type.

Source: wp-includes/class-wp-post-type.php:681

Used by 0 functions | Uses 0 functions

WP_Post_Type::remove_rewrite_rules()

Method: Removes any rewrite rules, permastructs, and rules for the post type.

Source: wp-includes/class-wp-post-type.php:696

Used by 0 functions | Uses 3 functions

WP_Post_Type

Class: Core class used for interacting with post types.

Source: wp-includes/class-wp-post-type.php:17

Used by 0 functions | Uses 0 functions

WP_Post_Type::__construct()

Method: Constructor.

Source: wp-includes/class-wp-post-type.php:405

Used by 1 function | Uses 1 function

WP_Post_Type::set_props()

Method: Sets post type properties.

Source: wp-includes/class-wp-post-type.php:420

Used by 1 function | Uses 8 functions

register_post_type_args

Filter Hook: Filters the arguments for registering a post type.

Source: wp-includes/class-wp-post-type.php:432

Used by 1 function | Uses 0 functions
  • About
  • News
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
Code is Poetry