On this page
apply_filters( "postbox_classes_{$screen_id}_{$box_id}", string[] $classes )
Filters the postbox classes for a specific screen and box ID combo.
Description
The dynamic portions of the hook name, $screen_id and $box_id, refer to the screen ID and meta box ID, respectively.
Parameters
$classesstring[]-
An array of postbox classes.
Source
File: wp-admin/includes/post.php. View all references
$classes = apply_filters( "postbox_classes_{$screen_id}_{$box_id}", $classes );
Related
Used By
| Used By | Description |
|---|---|
| postbox_classes() wp-admin/includes/post.php | Returns the list of classes to be used by a meta box. |
Changelog
| Version | Description |
|---|---|
| 3.2.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/postbox_classes_screen_id_box_id