do_action( 'do_meta_boxes', string $post_type, string $context, WP_Post|object|string $post )

Fires after meta boxes have been added.

Description Description

Fires once for each of the default meta box contexts: normal, advanced, and side.

Top ↑

Parameters Parameters


(string) Post type of the post on Edit Post screen, 'link' on Edit Link screen, 'dashboard' on Dashboard screen.


(string) Meta box context. Possible values include 'normal', 'advanced', 'side'.


(WP_Post|object|string) Post object on Edit Post screen, link object on Edit Link screen, an empty string on Dashboard screen.

Top ↑

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

You must log in before being able to contribute a note or feedback.