getTagByLabel( )


Gets a tag by the specified label.

The getTagByLabel() function returns a Promise that resolves to a tag whose label matches the specified label.

Permissions
Read Blog
Manage Blog
Read Draft Blog Posts
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
labelstringRequired

Tag label.


optionsGetTagByLabelOptions

Options specifying which additional fields to return.

Returns
Return Type:Promise<GetTagByLabelResponse>
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?