[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

title

Body

[close]

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

Custom page walker for this theme.

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

Defines 1 class

TwentyTwenty_Walker_Page:: (1 method):
  start_el()


Class: TwentyTwenty_Walker_Page  - X-Ref

CUSTOM PAGE WALKER
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.

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: Sat Nov 23 20:47:33 2019 Cross-referenced by PHPXref 0.7