Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #25376


Ignore:
Timestamp:
09/25/2013 05:04:01 PM (12 years ago)
Author:
DrewAPicture
Comment:

25376.diff documents all actions and filters in the file.

TODO:

  • @since versions for all of the above
  • Clarify 'enclosure'-related hook docs

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25376

    • Property Keywords has-patch added; needs-patch removed
    • Property Milestone changed from Awaiting Review to 3.7
    • Property Summary changed from Hood Docs: wp-includes/post.php to Hook Docs: wp-includes/post.php
  • Ticket #25376 – Description

    initial v2  
    1 Patch forthcoming.
     1Attached patch documents the following hooks (all):
     2
     3Actions:
     4* `registered_post_type`
     5* `before_delete_post`
     6* `delete_post`
     7* `deleted_post`
     8* `after_delete_post`
     9* `wp_trash_post`
     10* `trashed_post`
     11* `untrash_post`
     12* `untrashed_post`
     13* `trash_post_comments`
     14* `trashed_post_comments`
     15* `untrash_post_comments`
     16* `untrashed_post_comments`
     17* `pre_post_update`
     18* `edit_post`
     19* `post_updated`
     20* `save_post_$post_type`
     21* `save_post`
     22* `wp_insert_post`
     23* `edit_post`
     24* `save_post_$post_type` (duplicate)
     25* `save_post` (duplicate)
     26* `wp_insert_post` (duplicate)
     27* `transition_post_status`
     28* `$old_status_to_$new_status`
     29* `$new_status_to_$post_type`
     30* `edit_attachment`
     31* `add_attachment`
     32* `delete_attachment`
     33* `delete_post`
     34* `deleted_post`
     35* `clean_post_cache`
     36* `clean_page_cache`
     37* `clean_attachment_cache`
     38* `private_to_published`
     39* `xmlrpc_publish_post`
     40
     41Filters:
     42* `get_attached_file`
     43* `update_attached_file`
     44* `_wp_relative_upload_path`
     45* `post_type_labels_$post_type`
     46* `edit_$field`
     47* `$field_no_prefix_edit_pre`
     48* `edit_post_$field`
     49* `pre_$field`
     50* `$field_no_prefix_save_pre`
     51* `pre_post_$field`
     52* `$field_pre`
     53* `$field`
     54* `post_$field`
     55* `wp_count_posts` (existing)
     56* `wp_count_attachments` (existing)
     57* `post_mime_types`
     58* `wp_insert_post_empty_content`
     59* `wp_insert_post_parent`
     60* `wp_insert_post_data`
     61* `wp_unique_post_slug_is_bad_attachment_slug`
     62* `wp_unique_post_slug_is_bad_hierarchical_slug`
     63* `wp_unique_post_slug_is_bad_flat_slug`
     64* `wp_unique_post_slug`
     65* `add_ping`
     66* `get_enclosed`
     67* `get_pung`
     68* `get_to_ping`
     69* `get_pages`
     70* `get_pages` (duplicate)
     71* `get_pages` (duplicate)
     72* `wp_delete_file`
     73* `wp_delete_file` (duplicate)
     74* `wp_delete_file` (duplicate)
     75* `wp_delete_file` (duplicate)
     76* `wp_get_attachment_metadata`
     77* `wp_update_attachment_metadata`
     78* `wp_get_attachment_url`
     79* `wp_get_attachment_thumb_file`
     80* `wp_get_attachment_thumb_url`
     81* `icon_dir`
     82* `icon_dir_uri`
     83* `icon_dirs`
     84* `wp_mime_type_icon`
     85* `get_lastpostdate`
     86* `get_lastpostmodified`