Document the mysterious seventh parameter of add_meta_box().

props wonderboymusic, markjaquith. fixes #17515

git-svn-id: http://core.svn.wordpress.org/trunk@23397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Mark Jaquith 2013-02-08 18:37:34 +00:00
parent ddd1b94184
commit 00dbfdf89e

View File

@ -807,6 +807,7 @@ function wp_import_upload_form( $action ) {
* @param string|object $screen Optional. The screen on which to show the box (post, page, link). Defaults to current screen.
* @param string $context Optional. The context within the page where the boxes should show ('normal', 'advanced').
* @param string $priority Optional. The priority within the context where the boxes should show ('high', 'low').
* @param 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).
*/
function add_meta_box( $id, $title, $callback, $screen = null, $context = 'advanced', $priority = 'default', $callback_args = null ) {
global $wp_meta_boxes;