Skip to:
Content
Pages
Categories
Search
Top
Bottom

$bp global object deprecated


  • BobSD99
    Participant

    @bobsd99

    If I’m not mistaken, the $bp global object, documented in the Codex here, is now deprecated. Can this page be archived or updated to reflect this, or ideally changed to indicate the method you can use to still access these data (e.g. the buddypress() function)?

Viewing 1 replies (of 1 total)

  • Henry Wright
    Moderator

    @henrywright

    You can still use global $bp; at the beginning of your functions to access the global’s data. But yes, buddypress() is a far better way. You should be able to update the Codex yourself? If that’s not the case, let me know 🙂

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar