Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Hooks in wp-admin/includes/post.php

WP version: 5.1

Important! Some hooks get applied in multiple files. If you are trying to figure out what a specific hook does, you need to look in all the files that apply the hook. Click the "details" link next to any hook for more information.

Hook Type New? File
1 block_editor_meta_box_hidden_fields action no wp-admin/includes/post.php
2 edit_form_advanced action no wp-admin/includes/post.php
3 edit_form_after_title action no wp-admin/includes/post.php
4 wp_creating_autosave action no wp-admin/includes/post.php
5 post_lock_lost_dialog action no wp-admin/includes/post.php
6 post_locked_dialog action no wp-admin/includes/post.php
7 wp_check_post_lock_window filter no wp-admin/includes/post.php
8 filter_block_editor_meta_boxes filter no wp-admin/includes/post.php
9 block_categories filter no wp-admin/includes/post.php
10 use_block_editor_for_post_type filter no wp-admin/includes/post.php
11 use_block_editor_for_post filter no wp-admin/includes/post.php
12 redirect_post_location filter no wp-admin/includes/post.php
13 override_post_lock filter no wp-admin/includes/post.php
14 show_post_locked_dialog filter no wp-admin/includes/post.php
15 attachment_fields_to_save filter no wp-admin/includes/post.php
16 admin_post_thumbnail_html filter no wp-admin/includes/post.php
17 admin_post_thumbnail_size filter no wp-admin/includes/post.php
18 get_sample_permalink_html filter no wp-admin/includes/post.php
19 get_sample_permalink filter no wp-admin/includes/post.php
20 editable_slug filter no wp-admin/includes/post.php
21 editable_slug filter no wp-admin/includes/post.php
22 postbox_classes_{$page}_{$id} note filter no wp-admin/includes/post.php
23 upload_per_page filter no wp-admin/includes/post.php
24 edit_posts_per_page filter no wp-admin/includes/post.php
25 edit_{$post_type}_per_page note filter no wp-admin/includes/post.php
26 default_excerpt filter no wp-admin/includes/post.php
27 default_title filter no wp-admin/includes/post.php
28 default_content filter no wp-admin/includes/post.php

Important warning about variable hooks

Some hooks have variables in their names. For example, pre_${taxonomy}_$field and admin_head- both have variable names. In general, any hook that ends (or begins) with - or _, or contains a $, has a variable name. Since the syntax with which these variables are defined may change from version to version, this page may think that a hook is deprecated (or new) even if it is not. You can usually catch this sort of thing by comparing this hook to the list of "related hooks" below.