page_css_class
最后更新于:2021-11-27 12:50:14
apply_filters( ‘page_css_class’, string[] $css_class, GC_Post $page, int $depth, array $args, int $current_page )
Filters the list of CSS classes to include with each page item in the list.
参数
- $css_class
-
(string[])
An array of CSS classes to be applied to each list item. - $page
-
(GC_Post)
Page data object. - $depth
-
(int)
Depth of page, used for padding. - $args
-
(array)
An array of arguments. - $current_page
-
(int)
ID of the current page.
源文件
文件: gc-includes/class-walker-page.php