Filters the list of CSS classes to include with each page item in the list.
$css_classstring[]
$pageWP_Post
$depthint
$argsarray
$current_page_idint
$css_classes = implode( ' ', apply_filters( 'page_css_class', $css_class, $page, $depth, $args, $current_page_id ) );
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/page_css_class