Title: wp-admin/includes/meta-boxes.php | Developer.WordPress.org

---

# File: wp-admin/includes/meta-boxes.php

 * function[register_and_do_post_meta_boxes()](https://developer.wordpress.org/reference/functions/register_and_do_post_meta_boxes/)
 * Registers the default post meta boxes, and runs the `do_meta_boxes` actions.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/register_and_do_post_meta_boxes/#used-by)
   | Uses [26 functions](https://developer.wordpress.org/reference/functions/register_and_do_post_meta_boxes/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:1531](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L1531-L1733)
 * hook[page_attributes_misc_attributes](https://developer.wordpress.org/reference/hooks/page_attributes_misc_attributes/)
 * Fires before the help hint text in the ‘Page Attributes’ meta box.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/page_attributes_misc_attributes/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/page_attributes_misc_attributes/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:1080](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L1080-L1080)
 * hook[page_attributes_meta_box_template](https://developer.wordpress.org/reference/hooks/page_attributes_meta_box_template/)
 * Fires immediately after the label inside the ‘Template’ section of the ‘Page 
   Attributes’ meta box.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/page_attributes_meta_box_template/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/page_attributes_meta_box_template/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:1049](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L1049-L1049)
 * hook[post_edit_category_parent_dropdown_args](https://developer.wordpress.org/reference/hooks/post_edit_category_parent_dropdown_args/)
 * Filters the arguments for the taxonomy parent dropdown on the Post Edit page.
 * Used by [2 functions](https://developer.wordpress.org/reference/hooks/post_edit_category_parent_dropdown_args/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/post_edit_category_parent_dropdown_args/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:724](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L724-L724)
 * hook[post_submitbox_minor_actions](https://developer.wordpress.org/reference/hooks/post_submitbox_minor_actions/)
 * Fires after the Save Draft (or Save as Pending) and Preview (or Preview Changes)
   buttons in the Publish meta box.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/post_submitbox_minor_actions/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/post_submitbox_minor_actions/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:97](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L97-L97)
 * hook[submitlink_box](https://developer.wordpress.org/reference/hooks/submitlink_box/)
 * Fires at the end of the Publish box in the Link editing screen.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/submitlink_box/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/submitlink_box/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:1162](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L1162-L1162)
 * hook[default_page_template_title](https://developer.wordpress.org/reference/hooks/default_page_template_title/)
 * Filters the title of the default page template displayed in the drop-down.
 * Used by [2 functions](https://developer.wordpress.org/reference/hooks/default_page_template_title/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/default_page_template_title/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:1063](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L1063-L1063)
 * hook[page_attributes_dropdown_pages_args](https://developer.wordpress.org/reference/hooks/page_attributes_dropdown_pages_args/)
 * Filters the arguments used to generate a Pages drop-down element.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/page_attributes_dropdown_pages_args/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/page_attributes_dropdown_pages_args/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:1025](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L1025-L1025)
 * function[link_submit_meta_box()](https://developer.wordpress.org/reference/functions/link_submit_meta_box/)
 * Displays link create form fields.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/link_submit_meta_box/#used-by)
   | Uses [9 functions](https://developer.wordpress.org/reference/functions/link_submit_meta_box/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:1100](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L1100-L1167)
 * function[link_categories_meta_box()](https://developer.wordpress.org/reference/functions/link_categories_meta_box/)
 * Displays link categories form fields.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/link_categories_meta_box/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/link_categories_meta_box/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:1176](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L1176-L1219)
 * function[link_target_meta_box()](https://developer.wordpress.org/reference/functions/link_target_meta_box/)
 * Displays form fields for changing link target.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/link_target_meta_box/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/link_target_meta_box/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:1228](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L1228-L1244)
 * function[xfn_check()](https://developer.wordpress.org/reference/functions/xfn_check/)
 * Displays ‘checked’ checkboxes attribute for XFN microformat options.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/xfn_check/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/xfn_check/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:1261](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L1261-L1303)
 * function[link_xfn_meta_box()](https://developer.wordpress.org/reference/functions/link_xfn_meta_box/)
 * Displays XFN form fields.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/link_xfn_meta_box/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/functions/link_xfn_meta_box/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:1312](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L1312-L1435)
 * function[post_trackback_meta_box()](https://developer.wordpress.org/reference/functions/post_trackback_meta_box/)
 * Displays trackback links form fields.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/post_trackback_meta_box/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/post_trackback_meta_box/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:772](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L772-L804)
 * function[link_advanced_meta_box()](https://developer.wordpress.org/reference/functions/link_advanced_meta_box/)
 * Displays advanced link options form fields.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/link_advanced_meta_box/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/link_advanced_meta_box/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:1444](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L1444-L1483)
 * function[post_custom_meta_box()](https://developer.wordpress.org/reference/functions/post_custom_meta_box/)
 * Displays custom fields form fields.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/post_custom_meta_box/#used-by)
   | Uses [6 functions](https://developer.wordpress.org/reference/functions/post_custom_meta_box/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:813](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L813-L838)
 * function[post_thumbnail_meta_box()](https://developer.wordpress.org/reference/functions/post_thumbnail_meta_box/)
 * Displays post thumbnail meta box.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/post_thumbnail_meta_box/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/post_thumbnail_meta_box/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:1492](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L1492-L1495)
 * function[post_comment_status_meta_box()](https://developer.wordpress.org/reference/functions/post_comment_status_meta_box/)
 * Displays comments status form fields.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/post_comment_status_meta_box/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/functions/post_comment_status_meta_box/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:847](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L847-L873)
 * function[attachment_id3_data_meta_box()](https://developer.wordpress.org/reference/functions/attachment_id3_data_meta_box/)
 * Displays fields for ID3 data.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/attachment_id3_data_meta_box/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/attachment_id3_data_meta_box/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:1504](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L1504-L1522)
 * hook[post_comment_status_meta_box-options](https://developer.wordpress.org/reference/hooks/post_comment_status_meta_box-options/)
 * Fires at the end of the Discussion meta box on the post editing screen.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/post_comment_status_meta_box-options/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/post_comment_status_meta_box-options/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:869](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L869-L869)
 * function[post_comment_meta_box_thead()](https://developer.wordpress.org/reference/functions/post_comment_meta_box_thead/)
 * Displays comments for post table header
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/post_comment_meta_box_thead/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/functions/post_comment_meta_box_thead/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:883](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L883-L886)
 * function[post_comment_meta_box()](https://developer.wordpress.org/reference/functions/post_comment_meta_box/)
 * Displays comments for post.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/post_comment_meta_box/#used-by)
   | Uses [9 functions](https://developer.wordpress.org/reference/functions/post_comment_meta_box/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:895](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L895-L927)
 * function[post_slug_meta_box()](https://developer.wordpress.org/reference/functions/post_slug_meta_box/)
 * Displays slug form fields.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/post_slug_meta_box/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/post_slug_meta_box/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:936](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L936-L947)
 * function[post_author_meta_box()](https://developer.wordpress.org/reference/functions/post_author_meta_box/)
 * Displays form field with list of authors.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/post_author_meta_box/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/post_author_meta_box/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:958](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L958-L979)
 * function[post_revisions_meta_box()](https://developer.wordpress.org/reference/functions/post_revisions_meta_box/)
 * Displays list of revisions.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/post_revisions_meta_box/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/post_revisions_meta_box/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:988](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L988-L990)
 * function[page_attributes_meta_box()](https://developer.wordpress.org/reference/functions/page_attributes_meta_box/)
 * Displays page attributes form fields.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/page_attributes_meta_box/#used-by)
   | Uses [13 functions](https://developer.wordpress.org/reference/functions/page_attributes_meta_box/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:1003](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L1003-L1087)
 * function[attachment_submit_meta_box()](https://developer.wordpress.org/reference/functions/attachment_submit_meta_box/)
 * Displays attachment submit form fields.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/attachment_submit_meta_box/#used-by)
   | Uses [8 functions](https://developer.wordpress.org/reference/functions/attachment_submit_meta_box/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:420](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L420-L501)
 * hook[attachment_submitbox_misc_actions](https://developer.wordpress.org/reference/hooks/attachment_submitbox_misc_actions/)
 * Fires after the ‘Uploaded on’ section of the Save meta box in the attachment 
   editing screen.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/attachment_submitbox_misc_actions/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/attachment_submitbox_misc_actions/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:460](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L460-L460)
 * function[post_format_meta_box()](https://developer.wordpress.org/reference/functions/post_format_meta_box/)
 * Displays post format form elements.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/post_format_meta_box/#used-by)
   | Uses [9 functions](https://developer.wordpress.org/reference/functions/post_format_meta_box/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:518](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L518-L549)
 * function[post_tags_meta_box()](https://developer.wordpress.org/reference/functions/post_tags_meta_box/)
 * Displays post tags form fields.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/post_tags_meta_box/#used-by)
   | Uses [8 functions](https://developer.wordpress.org/reference/functions/post_tags_meta_box/#uses)
   | Source: [wp-admin/includes/meta-boxes.php:572](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/meta-boxes.php#L572-L612)

1 [2](https://developer.wordpress.org/reference/file/wp-admin/includes/meta-boxes.php/page/2/?output_format=md)

 [Next Page](https://developer.wordpress.org/reference/file/wp-admin/includes/meta-boxes.php/page/2/?output_format=md)