• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register

WordPress.org

  • Showcase
  • Learn
  • Themes
  • Plugins
  • Mobile
  • Support
    • Documentation
    • Forums
  • Get Involved
    • Five for the Future
  • About
  • Blog
  • Hosting
  • 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:743

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:707

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:718

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:729

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:561

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:585

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:629

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:640

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:649

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:662

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:677

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:395

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:408

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:419

Used by 1 function | Uses 0 functions
  • About
  • Blog
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
  • @WordPress
  • WordPress

Code is Poetry.