diff --git src/bp-activity/bp-activity-actions.php src/bp-activity/bp-activity-actions.php
index d17ed65..e6e466f 100644
|
|
|
function bp_activity_action_post_update() {
|
| 348 | 348 | * Filters activity object for BuddyPress core and plugin authors before posting activity update. |
| 349 | 349 | * |
| 350 | 350 | * @since 1.2.0 |
| | 351 | * @since 2.4.0 Add $activity_id argument |
| 351 | 352 | * |
| 352 | | * @param string $object Activity item being associated to. |
| 353 | | * @param string $item_id Component ID being posted to. |
| 354 | | * @param string $content Activity content being posted. |
| | 353 | * @param int|bool $activity_id The activity ID. False otherwise. |
| | 354 | * @param string $object Object type being associated to. |
| | 355 | * @param string $item_id Single item ID being posted to. |
| | 356 | * @param string $content Activity content being posted. |
| 355 | 357 | */ |
| 356 | | $activity_id = apply_filters( 'bp_activity_custom_update', $object, $item_id, $content ); |
| | 358 | $activity_id = apply_filters( 'bp_activity_custom_update', false, $object, $item_id, $content ); |
| 357 | 359 | } |
| 358 | 360 | |
| 359 | 361 | // Provide user feedback |