W3cubDocs

/WordPress

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

$classes

(string[]) An array of postbox classes.

Source

File: wp-admin/includes/post.php

View on Trac

Changelog

Version Description
3.2.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/postbox_classes_screen_id_box_id