Skip to content

Instantly share code, notes, and snippets.

@kikito
Created December 13, 2011 12:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kikito/1471990 to your computer and use it in GitHub Desktop.
Save kikito/1471990 to your computer and use it in GitHub Desktop.
wordpress / nav walker class / start_el function / $args (var dump)
object(stdClass)#134 (16) {
["menu"]=>
string(0) ""
["container"]=>
bool(false)
["container_class"]=>
string(0) ""
["container_id"]=>
string(0) ""
["menu_class"]=>
string(4) "menu"
["menu_id"]=>
string(0) ""
["echo"]=>
bool(true)
["fallback_cb"]=>
string(12) "wp_page_menu"
["before"]=>
string(0) ""
["after"]=>
string(0) ""
["link_before"]=>
string(0) ""
["link_after"]=>
string(0) ""
["items_wrap"]=>
string(36) "<ul id="%1$s" class="%2$s">%3$s</ul>"
["depth"]=>
int(0)
["walker"]=>
object(roots_nav_walker)#120 (3) {
["tree_type"]=>
array(3) {
[0]=>
string(9) "post_type"
[1]=>
string(8) "taxonomy"
[2]=>
string(6) "custom"
}
["db_fields"]=>
array(2) {
["parent"]=>
string(16) "menu_item_parent"
["id"]=>
string(5) "db_id"
}
["max_pages"]=>
int(1)
}
["theme_location"]=>
string(18) "primary_navigation"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment