Core Function
View Source on Trac ↗ postbox_classes()
postbox_classes( mixed $box_id, mixed $screen_id ) Returns the list of classes to be used by a meta box.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $box_id string | Meta box ID (used in the 'id' attribute for the meta box). Required |
| $screen_id string | The screen on which the meta box is shown. Required |
Return Value
(string)
Space-separated string of class names.
Function Information
Since Version
2.5.0
Source File
wp-admin/includes/post.php
Advertisement