• 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

wp_untrash_post_set_previous_status()

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

Source: wp-includes/post.php:7627

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

Used by 8 functions | Uses 3 functions

wp_after_insert_post

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

Source: wp-includes/post.php:4967

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

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

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

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

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

Used by 5 functions | Uses 6 functions

wp_get_original_image_path

Filter Hook: Filters the path to the original image.

Source: wp-includes/post.php:7570

Used by 1 function | Uses 0 functions

wp_get_original_image_url()

Function: Retrieve the URL to an original attachment image.

Source: wp-includes/post.php:7585

Used by 2 functions | Uses 6 functions

wp_get_original_image_url

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

Source: wp-includes/post.php:7612

Used by 1 function | Uses 0 functions

is_sticky

Filter Hook: Filters whether a post is sticky.

Source: wp-includes/post.php:2322

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

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

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

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

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

Used by 1 function | Uses 7 functions

register_post_meta()

Function: Registers a meta key for posts.

Source: wp-includes/post.php:2197

Used by 0 functions | Uses 1 function

unregister_post_meta()

Function: Unregisters a meta key for posts.

Source: wp-includes/post.php:2214

Used by 0 functions | Uses 1 function

_wp_privacy_statuses()

Function: Return statuses for privacy requests.

Source: wp-includes/post.php:985

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

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

Used by 2 functions | Uses 0 functions

_filter_query_attachment_filenames()

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

Source: wp-includes/post.php:7489

Used by 0 functions | Uses 1 function

wp_get_attachment_caption()

Function: Retrieves the caption for an attachment.

Source: wp-includes/post.php:6238

Used by 1 function | Uses 3 functions

wp_get_attachment_caption

Filter Hook: Filters the attachment caption.

Source: wp-includes/post.php:6260

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

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

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

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

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

Used by 2 functions | Uses 5 functions
1 2 … 8 Next »
  • 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.