public
Created

wordpress / nav walker class / start_el function / $args (var dump)

  • Download Gist
args_var_dump.php
PHP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
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"

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.