Description
Filters the list of CSS classes to include with each page item in the list.
Occurrences
Filename | Line Number |
---|---|
wp-includes/class-walker-page.php | 159 |
Parameters
Type | Name | Description |
---|---|---|
string[] | $css_class | An array of CSS classes to be applied to each list item. |
WP_Post | $page | Page data object. |
int | $depth | Depth of page, used for padding. |
array | $args | An array of arguments. |
int | $current_page_id | ID of the current page. |
PHP Doc
/**
* Filters the list of CSS classes to include with each page item in the list.
*
* @since 2.8.0
*
* @see wp_list_pages()
*
* @param string[] $css_class An array of CSS classes to be applied to each list item.
* @param WP_Post $page Page data object.
* @param int $depth Depth of page, used for padding.
* @param array $args An array of arguments.
* @param int $current_page_id ID of the current page.
*/