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

_post_type_meta_capabilities()

Function: Store or return a list of post type meta caps for map_meta_cap().

Source: wp-includes/post.php:1893

Used by 1 function | Uses 0 functions

add_post_meta()

Function: Adds a meta field to the given post.

Source: wp-includes/post.php:2432

Used by 17 functions | Uses 2 functions

_wp_relative_upload_path

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

Source: wp-includes/post.php:812

Used by 1 function | Uses 0 functions

get_post_stati()

Function: Get a list of post statuses.

Source: wp-includes/post.php:1407

Used by 21 functions | Uses 1 function

get_extended()

Function: Get extended entry info ().

Source: wp-includes/post.php:946

Used by 3 functions | Uses 0 functions

is_post_type_hierarchical()

Function: Whether the post type is hierarchical.

Source: wp-includes/post.php:1427

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

Used by 339 functions | Uses 3 functions

post_type_exists()

Function: Determines whether a post type is registered.

Source: wp-includes/post.php:1450

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

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

Used by 32 functions | Uses 1 function

get_post_field()

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

Source: wp-includes/post.php:1078

Used by 3 functions | Uses 2 functions

get_post_type_object()

Function: Retrieves a post type object by name.

Source: wp-includes/post.php:1484

Used by 126 functions | Uses 0 functions

get_post_mime_type()

Function: Retrieve the mime type of an attachment based on the ID.

Source: wp-includes/post.php:1103

Used by 4 functions | Uses 1 function

get_post_types()

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

Source: wp-includes/post.php:1512

Used by 51 functions | Uses 1 function

get_post_status()

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

Source: wp-includes/post.php:1124

Used by 25 functions | Uses 5 functions

register_post_type()

Function: Registers a post type.

Source: wp-includes/post.php:1676

Used by 1 function | Uses 8 functions

get_post_statuses()

Function: Retrieve all of the WordPress supported post statuses.

Source: wp-includes/post.php:1190

Used by 1 function | Uses 1 function

get_page_statuses()

Function: Retrieve all of the WordPress support page statuses.

Source: wp-includes/post.php:1211

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

Used by 1 function | Uses 3 functions

get_post_status_object()

Function: Retrieve a post status object by name.

Source: wp-includes/post.php:1380

Used by 18 functions | Uses 0 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 7 functions

get_attached_file()

Function: Retrieve attached file path based on attachment ID.

Source: wp-includes/post.php:723

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

Used by 1 function | Uses 0 functions

update_attached_file()

Function: Update attachment file path based on attachment ID.

Source: wp-includes/post.php:761

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

Used by 1 function | Uses 0 functions

_wp_relative_upload_path()

Function: Return relative path to an uploaded file.

Source: wp-includes/post.php:795

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