LearnDash_Permalinks::attachment_link( string $attachment_link = '', integer $attachment_id )
Filter the attachment link when using nested URLs.
Description Description
Parameters Parameters
- $attachment_link
-
(Optional) Attachment link.
Default value: ''
- $attachment_id
-
(Required) Attachment post ID.
Return Return
(string) $attachment_link
Source Source
File: includes/class-ld-permalinks.php
Changelog Changelog
| Version | Description |
|---|---|
| 3.4.1 | Introduced. |