Skip to:
Content
Pages
Categories
Search
Top
Bottom

how can I request a new do_action hook


  • Dwenaus
    Participant

    @dwenaus

    I’m not sure this is the place for this, or maybe in trac. But I’d like to request a new do_action hook in the default theme for this file:

    /buddypress/bp-themes/bp-default/groups/groups-loop.php

    directly after this line:

    <?php if ( bp_has_groups( bp_dtheme_ajax_querystring( 'groups' ) ) ) : ?>

    it would make sense to add something like:

    <?php do_action( 'bp_after_groups_query' )

    that way one can change the values of $groups_template after it is set but before it is displayed.

    This request is related to this post: http://buddypress.org/forums/topic/organizingcategorizing-many-groups-with-group-tags-plugin

    I’m trying to display the list of groups in an alternative manner (for example group tags). maybe there is another way to pass values to the $groups_template object that I don’t know of during it’s creation in bp_has_groups(). How ajax is being called and implemented is beyond me, maybe the solution lies there.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how can I request a new do_action hook’ is closed to new replies.
Skip to toolbar