Skip to content

getFirstMediaURL param incoherence #12

@welcoMattic

Description

@welcoMattic

Hi!

I'm trying to get the first (and only one) media in my collection with getFirstMediaURL() method.

Your documentation says to pass collectionName to this method, or your exemple show getFirstMediaURL('detail') where detail is a profile.

The method doesn't work with profile param, but works with collection name, but original profile is used by default.

Thanks for fix it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions