• 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/post.php / Page 8

get_post_types()

Function: Get a list of all registered post type objects.

Source: wp-includes/post.php:1287

Used by 43 functions | Uses 1 function

get_post_status()

Function: Retrieve the post status based on the post ID.

Source: wp-includes/post.php:899

Used by 25 functions | Uses 5 functions

register_post_type()

Function: Registers a post type.

Source: wp-includes/post.php:1449

Used by 1 function | Uses 7 functions

get_post_statuses()

Function: Retrieve all of the WordPress supported post statuses.

Source: wp-includes/post.php:965

Used by 1 function | Uses 1 function

get_page_statuses()

Function: Retrieve all of the WordPress support page statuses.

Source: wp-includes/post.php:986

Used by 1 function | Uses 1 function

register_post_status()

Function: Register a post status. Do not use before init.

Source: wp-includes/post.php:1060

Used by 1 function | Uses 3 functions

get_post_status_object()

Function: Retrieve a post status object by name.

Source: wp-includes/post.php:1155

Used by 18 functions | Uses 0 functions

_wp_relative_upload_path

Filter Hook: Filters the relative path to an uploaded file.

Source: wp-includes/post.php:587

Used by 1 function | Uses 0 functions

get_post_stati()

Function: Get a list of post statuses.

Source: wp-includes/post.php:1182

Used by 18 functions | Uses 1 function

get_extended()

Function: Get extended entry info ().

Source: wp-includes/post.php:721

Used by 3 functions | Uses 0 functions

is_post_type_hierarchical()

Function: Whether the post type is hierarchical.

Source: wp-includes/post.php:1202

Used by 17 functions | Uses 2 functions

get_post()

Function: Retrieves post data given a post ID or post object.

Source: wp-includes/post.php:765

Used by 325 functions | Uses 3 functions

post_type_exists()

Function: Determines whether a post type is registered.

Source: wp-includes/post.php:1225

Used by 11 functions | Uses 1 function

get_post_ancestors()

Function: Retrieves the IDs of the ancestors of a post.

Source: wp-includes/post.php:808

Used by 3 functions | Uses 1 function

get_post_type()

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

Source: wp-includes/post.php:1237

Used by 28 functions | Uses 1 function

get_post_field()

Function: Retrieve data from a post field based on Post ID.

Source: wp-includes/post.php:853

Used by 3 functions | Uses 2 functions

get_post_type_object()

Function: Retrieves a post type object by name.

Source: wp-includes/post.php:1259

Used by 122 functions | Uses 0 functions

get_attached_file()

Function: Retrieve attached file path based on attachment ID.

Source: wp-includes/post.php:498

Used by 24 functions | Uses 4 functions

get_attached_file

Filter Hook: Filters the attached file based on the given ID.

Source: wp-includes/post.php:521

Used by 1 function | Uses 0 functions

update_attached_file()

Function: Update attachment file path based on attachment ID.

Source: wp-includes/post.php:536

Used by 4 functions | Uses 6 functions

update_attached_file

Filter Hook: Filters the path to the attached file to update.

Source: wp-includes/post.php:549

Used by 1 function | Uses 0 functions

_wp_relative_upload_path()

Function: Return relative path to an uploaded file.

Source: wp-includes/post.php:570

Used by 6 functions | Uses 3 functions

create_initial_post_types()

Function: Creates the initial post types when ‘init’ action is fired.

Source: wp-includes/post.php:20

Used by 0 functions | Uses 6 functions
« Previous 1 … 7 8
  • 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.