Posts (pages attachments) (category)

attachment_fields_to_save

Saves a custom field added to an image (attachment) using the attachment_fields_to_edit hook.

before_delete_post

Fires before a post is deleted, at the very beginning of wp_delete_post().

delete_post

Fires before a post (of any post type) is deleted from the database.

edit_post

Fires only when an existing post is updated.

post_class

Allows you to change the list of CSS classes for the current post.

post_updated

Fires after an existing post is updated.

publish_post

Fires when a post (a post of the post type) is published or updated, allowing an action to be performed.

register_post_type_args

Allows changing the arguments passed to register_post_type when any post type is registered. It fires before the default arguments are generated, merged with the supplied arguments, and applied.

sanitize_title

Allows changing a string passed to sanitize_title() after unwanted characters have been removed.

save_post

Fires whenever a post or page is created or updated, including publication through import, XML-RPC, or email.

save_post_(post_type)

Fires whenever a post of the specified type (post, page) is created or updated, including when it is published through import, XML-RPC, or email.

the_content_feed

Filters the full description content output in a feed. The feed type is passed in the second parameter.

the_excerpt

Filters the content of the post's “Excerpt” field before it is displayed. Used in the_excerpt().

the_excerpt_rss

Called by the the_excerpt_rss() function, which outputs a short description in an RSS feed. Passes the short description text so it can be changed.

the_title

Applies to the post title, before retrieving or displaying it.

use_block_editor_for_post

Allows you to enable or disable Gutenberg (the WordPress block editor) for an individual post.

use_block_editor_for_post_type

Allows you to enable/disable content editing through Gutenberg (the WordPress block editor) for a post type.

wp_check_filetype_and_ext

Allows you to inspect an uploaded file and change its actual type (MIME type).

wp_insert_post_data

Filters post data immediately before it is inserted into or updated in the database by wp_insert_post(). All data is slashed!