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

Developer Resources

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

update_post_parent_caches()

Function: Updates parent post caches for a list of post objects.

Source: wp-includes/post.php:7478

Used by 3 functions | Uses 2 functions

update_post_author_caches()

Function: Updates post author user caches for a list of post objects.

Source: wp-includes/post.php:7463

Used by 4 functions | Uses 2 functions

registered_post_type_{$post_type}

Action Hook: Fires after a specific post type is registered.

Source: wp-includes/post.php:1730

Used by 1 function | Uses 0 functions

is_post_status_viewable

Filter Hook: Filters whether a post status is considered “viewable”.

Source: wp-includes/post.php:2321

Used by 1 function | Uses 0 functions

is_post_type_viewable

Filter Hook: Filters whether a post type is considered “viewable”.

Source: wp-includes/post.php:2273

Used by 1 function | Uses 0 functions

wp_resolve_post_date()

Function: Uses wp_checkdate to return a valid Gregorian-calendar value for post_date.

Source: wp-includes/post.php:4947

Used by 2 functions | Uses 3 functions

is_post_status_viewable()

Function: Determines whether a post status is considered “viewable”.

Source: wp-includes/post.php:2288

Used by 2 functions | Uses 2 functions

is_post_publicly_viewable()

Function: Determines whether a post is publicly viewable.

Source: wp-includes/post.php:2335

Used by 3 functions | Uses 5 functions

wp_untrash_post_set_previous_status()

Function: Filters callback which sets the status of an untrashed post to its previous status.

Source: wp-includes/post.php:8054

Used by 0 functions | Uses 0 functions

wp_after_insert_post()

Function: Fires actions after a post, its terms and meta data has been saved.

Source: wp-includes/post.php:5418

Used by 13 functions | Uses 2 functions

wp_after_insert_post

Action Hook: Fires once a post, its terms and meta data has been saved.

Source: wp-includes/post.php:5438

Used by 1 function | Uses 0 functions

wp_untrash_post_status

Filter Hook: Filters the status that a post gets assigned when it is restored from the trash (untrashed).

Source: wp-includes/post.php:3681

Used by 1 function | Uses 0 functions

pre_delete_attachment

Filter Hook: Filters whether an attachment deletion should take place.

Source: wp-includes/post.php:6379

Used by 1 function | Uses 0 functions

default_category_post_types

Filter Hook: Filters post types (in addition to ‘post’) that require a default category.

Source: wp-includes/post.php:5295

Used by 1 function | Uses 0 functions

add_trashed_suffix_to_trashed_posts

Filter Hook: Filters whether or not to add a `__trashed` suffix to trashed posts that match the name of the updated post.

Source: wp-includes/post.php:4335

Used by 1 function | Uses 0 functions

wp_get_original_image_path()

Function: Retrieves the path to an uploaded image file.

Source: wp-includes/post.php:7975

Used by 5 functions | Uses 5 functions

wp_get_original_image_path

Filter Hook: Filters the path to the original image.

Source: wp-includes/post.php:7997

Used by 1 function | Uses 0 functions

wp_get_original_image_url()

Function: Retrieves the URL to an original attachment image.

Source: wp-includes/post.php:8012

Used by 2 functions | Uses 5 functions

wp_get_original_image_url

Filter Hook: Filters the URL to the original attachment image.

Source: wp-includes/post.php:8039

Used by 1 function | Uses 0 functions

is_sticky

Filter Hook: Filters whether a post is sticky.

Source: wp-includes/post.php:2677

Used by 1 function | Uses 0 functions

pre_wp_unique_post_slug

Filter Hook: Filters the post slug before it is generated to be unique.

Source: wp-includes/post.php:5007

Used by 1 function | Uses 0 functions

edit_post_{$post->post_type}

Action Hook: Fires once an existing post has been updated.

Source: wp-includes/post.php:4663

Used by 4 functions | Uses 0 functions

wp_cache_set_posts_last_changed()

Function: Sets the last changed time for the ‘posts’ cache group.

Source: wp-includes/post.php:7939

Used by 0 functions | Uses 1 function

use_block_editor_for_post

Filter Hook: Filters whether a post is able to be edited in the block editor.

Source: wp-includes/post.php:8090

Used by 1 function | Uses 0 functions

use_block_editor_for_post_type()

Function: Returns whether a post type is compatible with the block editor.

Source: wp-includes/post.php:8105

Used by 2 functions | Uses 4 functions

use_block_editor_for_post_type

Filter Hook: Filters whether a post is able to be edited in the block editor.

Source: wp-includes/post.php:8127

Used by 1 function | Uses 0 functions

use_block_editor_for_post()

Function: Returns whether the post can be edited in the block editor.

Source: wp-includes/post.php:8067

Used by 1 function | Uses 5 functions

wp_check_for_changed_dates()

Function: Checks for changed dates for published post objects and save the old date.

Source: wp-includes/post.php:7033

Used by 0 functions | Uses 5 functions

wp_delete_attachment_files()

Function: Deletes all files that belong to the given attachment.

Source: wp-includes/post.php:6455

Used by 1 function | Uses 7 functions

register_post_meta()

Function: Registers a meta key for posts.

Source: wp-includes/post.php:2549

Used by 0 functions | Uses 1 function
1 2 … 7 8 Next
  • 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