WordPress.org

  • Showcase
  • Themes
  • Plugins
  • Mobile
  • Support
    • Documentation
    • Forums
  • Get Involved
  • About
  • Blog
  • Hosting
  • Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Reference / wp-includes/post.php

pre_wp_unique_post_slug

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

Source: wp-includes/post.php:4144

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

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

Used by 0 functions | Uses 1 function

wp_check_for_changed_dates()

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

Source: wp-includes/post.php:6022

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

Used by 1 function | Uses 6 functions

register_post_meta()

Function: Registers a meta key for posts.

Source: wp-includes/post.php:2088

Used by 0 functions | Uses 1 function

unregister_post_meta()

Function: Unregisters a meta key for posts.

Source: wp-includes/post.php:2105

Used by 0 functions | Uses 1 function

_wp_privacy_statuses()

Function: Return statuses for privacy requests.

Source: wp-includes/post.php:926

Used by 1 function | Uses 1 function

pre_untrash_post

Filter Hook: Filters whether a post untrashing should take place.

Source: wp-includes/post.php:3033

Used by 1 function | Uses 0 functions

pre_trash_post

Filter Hook: Filters whether a post trashing should take place.

Source: wp-includes/post.php:2968

Used by 2 functions | Uses 0 functions

_filter_query_attachment_filenames()

Function: Filter the SQL clauses of an attachment query to include filenames.

Source: wp-includes/post.php:6868

Used by 0 functions | Uses 1 function

wp_get_attachment_caption()

Function: Retrieves the caption for an attachment.

Source: wp-includes/post.php:5665

Used by 1 function | Uses 3 functions

wp_get_attachment_caption

Filter Hook: Filters the attachment caption.

Source: wp-includes/post.php:5685

Used by 1 function | Uses 0 functions

post_unstuck

Action Hook: Fires once a post has been removed from the sticky list.

Source: wp-includes/post.php:2483

Used by 1 function | Uses 0 functions

post_stuck

Action Hook: Fires once a post has been added to the sticky list.

Source: wp-includes/post.php:2442

Used by 1 function | Uses 0 functions

wp_queue_posts_for_term_meta_lazyload()

Function: Queues posts for lazy-loading of term meta.

Source: wp-includes/post.php:6719

Used by 1 function | Uses 3 functions

wp_add_trashed_suffix_to_post_name_for_trashed_posts()

Function: Adds a suffix if any trashed posts have a given slug.

Source: wp-includes/post.php:6809

Used by 1 function | Uses 2 functions

wp_add_trashed_suffix_to_post_name_for_post()

Function: Adds a trashed suffix for a given post.

Source: wp-includes/post.php:6841

Used by 2 functions | Uses 5 functions

get_post_types_by_support()

Function: Retrieves a list of post type names that support a specific feature.

Source: wp-includes/post.php:1844

Used by 0 functions | Uses 1 function

unregister_post_type()

Function: Unregisters a post type.

Source: wp-includes/post.php:1394

Used by 0 functions | Uses 6 functions

unregistered_post_type

Action Hook: Fires after a post type was unregistered.

Source: wp-includes/post.php:1423

Used by 1 function | Uses 0 functions

pre_get_lastpostmodified

Filter Hook: Pre-filter the return value of get_lastpostmodified() before the query is run.

Source: wp-includes/post.php:6204

Used by 1 function | Uses 0 functions

get_page_uri

Filter Hook: Filters the URI for a page.

Source: wp-includes/post.php:4968

Used by 1 function | Uses 0 functions

attachment_updated

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

Source: wp-includes/post.php:3874

Used by 1 function | Uses 0 functions

pre_delete_post

Filter Hook: Filters whether a post deletion should take place.

Source: wp-includes/post.php:2800

Used by 1 function | Uses 0 functions

is_post_type_viewable()

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

Source: wp-includes/post.php:1890

Used by 11 functions | Uses 1 function

get_post_status

Filter Hook: Filters the post status.

Source: wp-includes/post.php:874

Used by 1 function | Uses 0 functions

add_attachment

Action Hook: Fires once an attachment has been added.

Source: wp-includes/post.php:3884

Used by 1 function | Uses 0 functions

wp_attachment_is()

Function: Verifies an attachment is of a given type.

Source: wp-includes/post.php:5769

Used by 11 functions | Uses 5 functions

get_children()

Function: Retrieve all children of the post parent ID.

Source: wp-includes/post.php:591

Used by 6 functions | Uses 3 functions
1 2 … 8 Next »
  • About
  • Blog
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Showcase
  • Plugins
  • Themes
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
  • @WordPress
  • WordPress

Code is Poetry.

Skip to toolbar
  • About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register