Contents

bp_media_search_label_search( $type )

Add Media items for search

Description

Source

File: bp-media/bp-media-filters.php

71
72
73
74
75
76
77
78
79
80
function bp_media_search_label_search( $type ) {
 
    if ( 'albums' === $type ) {
        $type = __( 'Albums', 'buddyboss' );
    } elseif ( 'photos' === $type ) {
        $type = __( 'Photos', 'buddyboss' );
    }
 
    return $type;
}

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.