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
    		 *
    		 * @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;