Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi kerdezo. Can you describe what you mean by “function tree”?

    Thread Starter kerdezo

    (@kerdezo)

    Hi budbrown.
    Function tree – I mean – is the structure of the admin menu, with all selection possibilities. / main category- sub categories of the main category -sub categories of a sub category – etc. Similar to parent-child-grandchild.
    e.g. – Settings > Discussion > Other Comments Settings > “Users – this is a branch of the whole decision tree /or also called decision map/ I’m looking for.
    Thx
    kerdezo

    The structure of the admin menu is built by WP, not the theme. You can see a list of the top-level menu items on the Administration Screens page of the Codex. This StackExchange post provides a function to enumerate all the admin menu items. You would add the function to a child theme functions.php file, but remove the first line that has “<?php”. The child theme functions.php file should already have that as the first line and, if you leave that same line in the function, it will cause a server error and take down your site. The function produces a list of arrays, one for each menu item, in the Dashboard. Not pretty but it works.

    Thread Starter kerdezo

    (@kerdezo)

    Thanks a lot bdbrown! Now it is clear.
    See I’m just a beginner.:-)
    Have a nice day!
    kerdezo

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Function tree’ is closed to new replies.