do_meta_boxes


do_meta_boxes ( $screen, $context, $data_object )

Parameters:
  • (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.
  • (string) context The screen context for which to display meta boxes.
  • (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.
Returns:
  • (int) Number of meta_boxes.
Defined at:

Description

Meta-Box template function.

Related Functions

add_meta_box, meta_box_prefs, get_hidden_meta_boxes, remove_meta_box, post_slug_meta_box

Top Google Results

User discussions

wpseek mobile