[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

Custom page walker for this theme.

File Size: 154 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.

since: Twenty Twenty 1.0
since: Twenty Twenty 1.9 Renamed `$page` to `$data_object` and `$current_page` to `$current_object_id`
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: Tue Dec 24 01:00:02 2024 Cross-referenced by PHPXref 0.7.1