[ Index ]

PHP Cross Reference of WordPress




/wp-content/themes/twentytwenty/classes/ -> class-twentytwenty-walker-page.php (summary)

Custom page walker for this theme.

File Size: 146 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

TwentyTwenty_Walker_Page:: (1 method):

Class: TwentyTwenty_Walker_Page  - X-Ref

A custom walker for pages.

start_el( &$output, $page, $depth = 0, $args = array()   X-Ref
Outputs the beginning of the current element in the tree.

since: 2.1.0
param: string  $output       Used to append additional content. Passed by reference.
param: WP_Post $page         Page data object.
param: int     $depth        Optional. Depth of page. Used for padding. Default 0.
param: array   $args         Optional. Array of arguments. Default empty array.
param: int     $current_page Optional. Page ID. Default 0.

Generated: Mon May 17 01:00:05 2021 Cross-referenced by PHPXref 0.7.1