apply_filters( 'torro_export_attachment_url', string $attachment_url, awsmug\Torro_Forms\DB_Objects\Elements\Element_Types\Base\WP_Post $attachment )

Filters the URL to use when generating the export output for an attachment.

Description

Parameters

$attachment_url

(string) (Optional) URL to use for the attachment. Default is the edit URL.

$attachment

(awsmug\Torro_Forms\DB_Objects\Elements\Element_Types\Base\WP_Post) (Optional) Attachment object the URL is for.

Changelog

Changelog
Version Description
1.0.0 Introduced.