Skip to main content

GFCategoryWalker

Source: common.php:8636

Details​

  • Kind: class
  • Namespace: (global)
  • Extends: Walker

Methods​

MethodDescription
start_el()

Method Reference​

start_el()​

function start_el( &$output, $object, $depth=0, $args=[], $current_object_id=0 )

Parameters​

NameTypeDefaultDescription
&$outputstringPassed by reference. Used to append additional content.
$objectobjectCategory data object.
$depthint0Depth of category. Used for padding. Defaults to 0.
$argsarray[]Uses 'selected' and 'show_count' keys, if they exist. Defaults to empty array.
$current_object_idint0The current object ID. Defaults to 0.

See Also​

  • \Walker::start_el()

Since: 2.1.0

Source: common.php:8662