bp_rest_activity_show_hidden

bp_rest_activity_show_hidden

Hook Type: filter

See hook in core

Displaying hooks found in version: buddypress.14.3.3

apply_filters('bp_rest_activity_show_hidden') is found 1 times:

  • /bp-activity/classes/class-bp-rest-activity-endpoint.php line 1243
    1239
    1240
    1241
    1242
    1243
    1244
    1245
    1246
    1247
    1248
    1249
         * @param bool   $retval    True to show hidden activities. False otherwise.
         * @param string $component The component name/ID.
         * @param int    $user_id   The current user ID.
         */
        $retval = apply_filters( 'bp_rest_activity_show_hidden', $retval, $component, $user_id );
    }
     
    // Moderators as well.
    if ( bp_current_user_can( 'bp_moderate' ) ) {
        $retval = true;
    }
bp_rest_activity_show_hidden - WordPress Hooks

bp_rest_activity_show_hidden

bp_rest_activity_show_hidden

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: buddypress.11.0.0

apply_filters('bp_rest_activity_show_hidden') is found 1 times:

  • /bp-activity/classes/class-bp-rest-activity-endpoint.php line 1232
    1228
    1229
    1230
    1231
    1232
    1233
    1234
    1235
    1236
    1237
    1238
         * @param bool   $retval    True to show hidden activities. False otherwise.
         * @param string $component The component name/ID.
         * @param int    $user_id   The current user ID.
         */
        $retval = apply_filters( 'bp_rest_activity_show_hidden', $retval, $component, $user_id );
    }
     
    // Moderators as well.
    if ( bp_current_user_can( 'bp_moderate' ) ) {
        $retval = true;
    }