humanmade / asset-manager-framework

A framework for overriding the WordPress media library with an external asset provider, such as a DAM
GNU General Public License v2.0
155 stars 7 forks source link

Filter the local provider name #47

Closed soderlind closed 3 years ago

soderlind commented 3 years ago

Could you please add a filter to the local provider name? https://github.com/humanmade/asset-manager-framework/blob/d3500bb42cad16a435ed3672bb113054fd59c0ad/inc/LocalProvider.php#L18

eg:

public function get_name() : string {
    return apply_filters( 'amf/local_media/name', __( 'Local Media', 'asset-manager-framework' ) );
}