[memb_file_url]

Description

Resolves the same URL as [memb_file_link] (indirect proxied link, or a directly signed URL with direct_link="yes") but returns it as text rather than an anchor, useful in templates, href attributes built by other tooling, or programmatic use.

Renders nothing when the profile or path is missing or the profile can't be found.

Shortcode Examples

[memb_file_url profile="s3-videos" path="courses/lesson-1.mp4"]

Directly signed URL with a 10-minute lifetime:

[memb_file_url profile="s3-videos" path="courses/lesson-1.mp4" direct_link="yes" expiration="600"]

Shortcode Parameters

profile

Secure Files profile slug. Required.

path

File path within the profile's bucket/zone. Required.

'yes' to return a directly signed provider URL. Default: 'no'.

expiration

URL lifetime in seconds for direct links. Falls back to the profile's configured expiration. Default: ''.

require_login

Whether the indirect link requires login at access time. Default: 'no'.

Shortcode Attributes

Attribute Value
Conditional No
Nestable No
Accepts formatting No