[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

Custom page walker for this theme.

File Size: 155 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, $data_object, $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 $data_object       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_object_id Optional. ID of the current page. Default 0.



Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref