Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Mobile
    • Hosting
    • Openverse ↗︎
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • Developers
    • WordPress.tv ↗︎
  • Community
    • Make WordPress
    • Photo Directory
    • Five for the Future
    • WordCamp ↗︎
    • Meetups ↗︎
    • Job Board ↗︎
  • About
    • About WordPress
    • Showcase
    • Enterprise
    • Gutenberg ↗︎
    • WordPress Swag Store ↗︎
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/post.php / Page 8

_add_post_type_submenus()

Function: Adds submenus for post types.

Source: wp-includes/post.php:2072

Used by 0 functions | Uses 3 functions

delete_post_meta_by_key()

Function: Deletes everything from post meta matching the given meta key.

Source: wp-includes/post.php:2535

Used by 0 functions | Uses 1 function

add_post_type_support()

Function: Registers support of certain features for a post type.

Source: wp-includes/post.php:2119

Used by 3 functions | Uses 0 functions

get_post_custom()

Function: Retrieves post meta fields, based on post ID.

Source: wp-includes/post.php:2585

Used by 7 functions | Uses 3 functions

get_post_type_object()

Function: Retrieves a post type object by name.

Source: wp-includes/post.php:1486

Used by 127 functions | Uses 0 functions

get_post_mime_type()

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

Source: wp-includes/post.php:1102

Used by 4 functions | Uses 1 function

get_post_types()

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

Source: wp-includes/post.php:1514

Used by 53 functions | Uses 1 function

get_post_status()

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

Source: wp-includes/post.php:1123

Used by 25 functions | Uses 4 functions

register_post_type()

Function: Registers a post type.

Source: wp-includes/post.php:1677

Used by 1 function | Uses 6 functions

get_post_statuses()

Function: Retrieves all of the WordPress supported post statuses.

Source: wp-includes/post.php:1190

Used by 1 function | Uses 1 function

get_page_statuses()

Function: Retrieves all of the WordPress support page statuses.

Source: wp-includes/post.php:1211

Used by 1 function | Uses 1 function

register_post_status()

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

Source: wp-includes/post.php:1287

Used by 1 function | Uses 3 functions

get_post_status_object()

Function: Retrieves a post status object by name.

Source: wp-includes/post.php:1382

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

Used by 1 function | Uses 0 functions

get_post_stati()

Function: Gets a list of post statuses.

Source: wp-includes/post.php:1409

Used by 21 functions | Uses 1 function

get_extended()

Function: Gets extended entry info ().

Source: wp-includes/post.php:945

Used by 3 functions | Uses 0 functions

is_post_type_hierarchical()

Function: Determines whether the post type is hierarchical.

Source: wp-includes/post.php:1429

Used by 18 functions | Uses 2 functions

get_post()

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

Source: wp-includes/post.php:989

Used by 344 functions | Uses 3 functions

post_type_exists()

Function: Determines whether a post type is registered.

Source: wp-includes/post.php:1452

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

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

Used by 32 functions | Uses 1 function

get_post_field()

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

Source: wp-includes/post.php:1077

Used by 3 functions | Uses 2 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: Retrieves attached file path based on attachment ID.

Source: wp-includes/post.php:722

Used by 25 functions | Uses 3 functions

get_attached_file

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

Source: wp-includes/post.php:745

Used by 1 function | Uses 0 functions

update_attached_file()

Function: Updates attachment file path based on attachment ID.

Source: wp-includes/post.php:760

Used by 4 functions | Uses 5 functions

update_attached_file

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

Source: wp-includes/post.php:773

Used by 1 function | Uses 0 functions

_wp_relative_upload_path()

Function: Returns relative path to an uploaded file.

Source: wp-includes/post.php:794

Used by 6 functions | Uses 2 functions
Previous 1 2 … 7 8
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • 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
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry