Skip to:
Content
Pages
Categories
Search
Top
Bottom

Access Buddypress functions from template (bp_blogs_get_latest_posts)


  • vtblogmu
    Participant

    @vtblogmu

    Is there a way to access bp_blogs_get_latest_posts() and possibly other buddypress functions from outside buddypress’s core? I’d like to access that function for both widgets and wordpress templates but I get function undefined when I place it in the code and when It ry to include the php file it’s defined in everything in the theme that’s below the include breaks.

    edit: I just realized the function does not exist in the bp-blogs.php file even tough this link says it’s there: http://bp-dev.org/phpxref/nav.html?_functions/index.html

Viewing 1 replies (of 1 total)

  • Paul Wong-Gibbs
    Keymaster

    @djpaul

    That’s not an offiical BP site. Those functions were removed in BP 1.2; you’re best off using WP functions to get whatever blog info you need.

Viewing 1 replies (of 1 total)
  • The topic ‘Access Buddypress functions from template (bp_blogs_get_latest_posts)’ is closed to new replies.
Skip to toolbar