do_meta_boxes ( $screen, $context, $object )

  • (string|WP_Screen) $screen 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.
  • (string) $context The screen context for which to display meta boxes.
  • (mixed) $object Gets passed to the first parameter of the meta box callback function. Often this is the object that's the focus of the current screen, for example a `WP_Post` or `WP_Comment` object.
  • (int) number of meta_boxes
Defined at:


Meta-Box template function.

Related Functions

add_meta_box, meta_box_prefs, remove_meta_box, get_hidden_meta_boxes, post_tags_meta_box

Top Google Results

User discussions

wpseek mobile