add_meta_box Wordpress function


Add a meta box to an edit form.



(string) $id String for use in the 'id' attribute of tags.
(string) $title Title of the meta box.
(string) $callback Function that fills the box with the desired content. The function should echo its output.
(string|object) $screen Optional. The screen on which to show the box (post, page, link). Defaults to current screen.
(string) $context Optional. The context within the page where the boxes should show ('normal', 'advanced').
(string) $priority Optional. The priority within the context where the boxes should show ('high', 'low').
(array) $callback_args Optional. Data that should set as the "args" property of the box array (which is the second parameter passed to your callback).

Return Type:

Define At:


Wordpress Reference URL:

0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×