Changeset 13023
- Timestamp:
- 07/19/2021 05:39:17 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-blocks.php
r13001 r13023 56 56 } 57 57 58 $widget_args = array( 59 'max' => $max_activities, 60 'scope' => 'all', 61 'user_id' => $member_id, 62 'object' => false, 63 'action' => implode( ',', $types ), 64 'primary_id' => 0, 65 'secondary_id' => 0, 58 /** 59 * Filter here to edit the arguments used by the Latest Activities block. 60 * 61 * @since 9.0.0 62 * 63 * @param array $widget_args The list of arguments for the Activity query. 64 * @param array $block_args The list of Block attributes. 65 */ 66 $widget_args = apply_filters( 67 'bp_activity_block_latest_updates_args', 68 array( 69 'max' => $max_activities, 70 'scope' => 'all', 71 'user_id' => $member_id, 72 'object' => false, 73 'action' => implode( ',', $types ), 74 'primary_id' => 0, 75 'secondary_id' => 0, 76 ), 77 $block_args 66 78 ); 67 79
Note: See TracChangeset
for help on using the changeset viewer.