add_meta_box($id,$title,$callback,$screen,$context:,$priority);
parameter
$ ID (string) (Required) Meta - module HTML "ID" attribute
The title $ title (character string) (Required) Meta - module, visible to the user
$ The callback function (callback) (Required) to output HTML code modules Meta
$ Post_type (string) (Required) Article type Meta display module, which can be paper (post), page (page), link (link), accessories (attachment) or custom post types (custom post types alias)
$ Context display position (string) (optional) Meta - module ( 'normal', 'advanced', or 'side') Default: 'advanced'
$ Priority (string) (optional) priority level ( 'high', 'core', 'default'or' low ') Meta module displays default values:' default '
$ Callback_args (array) (optional) parameters passed to the callback function. $ post callback function receives the objects, and any other parameters passed by this variable.
Source File
wp-admin/includes/template.php
Reference
- WordPress Meta Box Add method steps
- Plugin API/Action Reference/add meta boxes 案列
- add_meta_box () the Add Meta Box parameters
- Adding Custom Meta Boxes to the WordPress Admin Interface
- How To Create Wordpress Meta Boxes
- WordPress add Add_Meta_Box use have add_meta_box () parameter description of Chinese and case
- WordPress function: add meta box (custom add Meta module)