From 17231906160f1142aba354ef7fc73b5fb63f4739 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Fri, 8 Feb 2013 18:37:34 +0000 Subject: [PATCH] Document the mysterious seventh parameter of add_meta_box(). props wonderboymusic, markjaquith. fixes #17515 git-svn-id: https://develop.svn.wordpress.org/trunk@23397 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/template.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 6fb144bac5..f9382d5000 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -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;