Skip to:
Content
Pages
Categories
Search
Top
Bottom

Where is the pattern of “bp_has_activities” below listed?


  • eigodeasobo
    Participant

    @eigodeasobo

    Where is the pattern of “bp_has_activities” below listed?

    <?php if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ) . ‘&action=activity_update’ ) ) : ?>

    <?php if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ) . ‘&action=activity_update, activity_comment’ ) ) : ?>

Viewing 4 replies - 1 through 4 (of 4 total)

  • shanebp
    Moderator

    @shanebp

    Please use the code button when posting code.

    If you are asking for the location of the bp_has_activities function, it is in this file:
    buddypress\bp-activity\bp-activity-template.php

    You can find the location of a function by searching for them via your code editor.
    Or by using google and entering the name of the function.


    eigodeasobo
    Participant

    @eigodeasobo

    I would like to filter the following kinds of “※”.

    ※When creating topics for BBP.
    ※When comment for topics.

    What should I write in “※” below?

    <?php if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ) . ‘&action=※※’ ) ) : ?>

    The list I want to know is “write this in Case A below, write this in Case B”.


    shanebp
    Moderator

    @shanebp

    You could look in the database for the names of those activity types.
    You could ask on the support forum for bbPress.


    eigodeasobo
    Participant

    @eigodeasobo

    I see.
    I have asked a question below.
    https://bbpress.org/forums/topic/how-to-filter-buddypress-activity/
    I’m looking forward to hearing from you.
    Thanks.

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