mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
ddd1b94184
commit
00dbfdf89e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user