Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Looking at bp method declarations


  • CodeMonkeyBanana
    Participant

    @codemonkeybanana

    Hi,

    I am having some trouble working out how look at bp method declarations. I want to do this so I can see if there are any helpful comments in code.

    For instance I want to use bp_nav_menu(). The documentation says there are various filters and you can use a navwalker but it doesnt say how to use it or what filters it uses so I need to look at code but when I search the buddypress folder for bp_nav_menu it returns no ocurrences.

    My IDE says all BP function don’t exist so I guess they are either inside a namespace or a class that is brought into scope at runtime. Is there anyway to call functions with fully qualified path or to know what the fully qualified path is?

    Any tips to navigate the code appreciated.

Viewing 1 replies (of 1 total)

  • CodeMonkeyBanana
    Participant

    @codemonkeybanana

    D’oh!

    For some reason my IDE had excluded it from scope. This was why nothing was working. I added it back and its all good now.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Looking at bp method declarations’ is closed to new replies.
Skip to toolbar