bp_activity_get_generated_content_part
bp_activity_get_generated_content_part
Appears in: buddypress.10.1.0, buddypress.10.2.0, buddypress.10.3.0, buddypress.10.4.0, buddypress.10.5.0, buddypress.10.6.0, buddypress.11.0.0, buddypress.11.1.0, buddypress.11.2.0, buddypress.11.3.2, buddypress.11.4.0, buddypress.12.0.0, buddypress.12.1.1, buddypress.12.2.0, buddypress.12.3.0, buddypress.12.4.0, buddypress.12.4.1, buddypress.12.5.0, buddypress.12.5.1, buddypress.14.0.0, buddypress.14.1.0, buddypress.14.2.1, buddypress.14.3.3
Hook Type: filter
Displaying hooks found in version: buddypress.14.3.3apply_filters('bp_activity_get_generated_content_part') is found 1 times:
- /bp-activity/bp-activity-template.php line 1699
* * @param string $value The generated content part. * @param string $property The property the content part is attached to. */ $value = apply_filters( 'bp_activity_get_generated_content_part', $content_part['value'], $property ); if ( isset( $content_part['sanitize_callback'] ) && $content_part['sanitize_callback'] ) { return call_user_func( $content_part['sanitize_callback'], $value ); } return $value;