WordPress at a glance
filter is not described

page_css_class filter-hook . WP 2.8.0

Filters the list of CSS classes to include with each page item in the list.


add_filter( 'page_css_class', 'filter_function_name_8040', 10, 5 );
function filter_function_name_8040( $css_class, $page, $depth, $args, $current_page ){
	// filter...

	return $css_class;
An array of CSS classes to be applied to each list item.
Page data object.
Depth of page, used for padding.
An array of arguments.
ID of the current page.

Where the hook is called

wp-includes/class-walker-page.php 148
$css_classes = implode( ' ', apply_filters( 'page_css_class', $css_class, $page, $depth, $args, $current_page ) );

Where the hook is used (in WP core)

Does not used.