Walker::start_el()

最后更新于:2021-11-26 05:31:20

Walker::start_el( string$output, object$object, int$depth, array$args=array(), int$current_object_id)

Start the element output.

参数

$output

(string) (Required) Used to append additional content (passed by reference).

$object

(object) (Required) The data object.

$depth

(int) (Required) Depth of the item.

$args

(array) (Optional) An array of additional arguments.

Default value: array()

$current_object_id

(int) (Required) ID of the current item.

源文件

文件: gc-includes/class-gc-walker.php

	public function start_el( &$output, $object, $depth = 0, $args = array(), $current_object_id = 0 ) {}