do_meta_boxes


do_meta_boxes ( $screen, $context, $object )

Parameters:
  • (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.
Returns:
  • (int) number of meta_boxes
Defined at:

Description

Displays the meta boxes which are registered against the given screen and context.

Related Functions

add_meta_box, meta_box_prefs, remove_meta_box, get_hidden_meta_boxes, post_slug_meta_box

Top Google Results

User discussions

wpseek mobile