bp_activity_get_generated_content_part

bp_activity_get_generated_content_part

Hook Type: filter

See hook in core

Displaying hooks found in version: buddypress.14.3.3

apply_filters('bp_activity_get_generated_content_part') is found 1 times:

  • /bp-activity/bp-activity-template.php line 1699
    1695
    1696
    1697
    1698
    1699
    1700
    1701
    1702
    1703
    1704
    1705
    *
     * @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;