do_meta_boxes()
do_meta_boxes( mixed $screen, mixed $context, mixed $data_object ) Meta-Box template function.
Parameters 3 required
| Name / Type | Description |
|---|---|
| mixed | (string | WP_Screen) $screen The screen identifier. If you have used add_menu_page() or add_submenu_page() to create a new screen (and hence screen_id) make sure your menu slug conforms to the limits of sanitize_key() otherwise the 'screen' menu may not correctly render on your page. Required |
| $context string | The screen context for which to display meta boxes. Required |
| mixed | $data_object Gets passed to the meta box callback function as the first parameter. Often this is the object that's the focus of the current screen, for example a `WP_Post` or `WP_Comment` object. Required |