LearnDash_Permalinks::get_edit_post_link( string $link = '', integer $post_id, string $context = '' )
Override WordPress Get Edit Post Link to include nested URL.
Contents
Description #
Parameters #
- $link
-
(string) (Optional) The edit link.
Default value: ''
- $post_id
-
(integer) (Required) Post ID to edit.
- $context
-
(string) (Optional) The link context. If set to 'display' then ampersands are encoded.
Default value: ''
Source #
Changelog #
Version | Description |
---|---|
2.5.0 | Introduced. |