Skip to:
Content
Pages
Categories
Search
Top
Bottom

What's "bp_before_blog_page" all about?

  • @olivernielsen

    Participant

    Spread around the defaultt heme, there are tags like:

    <?php do_action( ‘bp_before_blog_page’ ) ?>

    and

    <?php do_action( ‘bp_before_search_login_bar’ ) ?>

    But what are they used for? I’m doing a custom theme, and would like to know if it’s bad to remove themP What would happen?

Viewing 3 replies - 1 through 3 (of 3 total)
  • @djpaul

    Keymaster

    They are action hooks and can be used by custom themes and plugins. Leave them in.

    @takeo

    Participant

    Ya. Haven’t played with them but it’s a cool idea. I assume it allows you to do “stuff” at those points in the code… i.e… run / insert something at those locations in the templates using a functions.php file. Pretty cool. WordPress has them as well.

    @olivernielsen

    Participant

    Hmm, okay, thanks guys!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘What's "bp_before_blog_page" all about?’ is closed to new replies.
Skip to toolbar