Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to modify blog_description via filter

  • @slaffik

    Moderator

    I’m in a process of writing my own plugins for BuddyPress. But I faced with the problem – I don’t understand how to remove filters (while I do know how to add them). What I mean:

    I want to change function bp_get_blog_description(), which has this code inside:

    return apply_filters( 'bp_get_blog_description', $blogs_template->blog['description'] );

    As I understood I need to remove this filter (to add then my own with my extra info).

    remove_filter either don’t work or I don’t understand how to use it.

    What could you advice me?

    Any help would be appreciated. I can just catch the idea if there is no clear solution.

    Oh, BP1.0 and WPMU 2.7.1 (unuseful info, I know).

Viewing 1 replies (of 1 total)
  • @slaffik

    Moderator

    Thanks to Burt, who helped me and explain everything via irc. I did what I wanted.

Viewing 1 replies (of 1 total)
  • The topic ‘How to modify blog_description via filter’ is closed to new replies.
Skip to toolbar