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

$classes = apply_filters( "postbox_classes_{$screen_id}_{$box_id}", $classes );

Changelog

VersionDescription
3.2.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.