Browse: Home / Classes / LearnDash_Permalinks /

LearnDash_Permalinks::attachment_link

LearnDash_Permalinks::attachment_link( string $attachment_link = '',  integer $attachment_id )

Filter the attachment link when using nested URLs.


Description #


Parameters #

$attachment_link

(string) (Optional) Attachment link.

Default value: ''

$attachment_id

(integer) (Required) Attachment post ID.


Return #

(string) $attachment_link


Source #

File: includes/class-ld-permalinks.php


Changelog #

Changelog
Version Description
3.4.1 Introduced.