LearnDash_Permalinks::get_edit_post_link

LearnDash_Permalinks::get_edit_post_link( string $link = '',  integer $post_id,  string $context = '' )

Override WordPress Get Edit Post Link to include nested URL.


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 #

File: includes/class-ld-permalinks.php


Changelog #

Changelog
Version Description
2.5.0 Introduced.