WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/08/2013 06:37:34 PM (9 years ago)
Author:
markjaquith
Message:

Document the mysterious seventh parameter of add_meta_box().

props wonderboymusic, markjaquith. fixes #17515

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r23392 r23397  
    808808 * @param string $context Optional. The context within the page where the boxes should show ('normal', 'advanced').
    809809 * @param string $priority Optional. The priority within the context where the boxes should show ('high', 'low').
     810 * @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).
    810811 */
    811812function add_meta_box( $id, $title, $callback, $screen = null, $context = 'advanced', $priority = 'default', $callback_args = null ) {
Note: See TracChangeset for help on using the changeset viewer.