Browse: Home / Classes / LearnDash_Permalinks /


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 #


(string) (Optional) The edit link.

Default value: ''


(integer) (Required) Post ID to edit.


(string) (Optional) The link context. If set to 'display' then ampersands are encoded.

Default value: ''

Source #

File: includes/class-ld-permalinks.php

Changelog #

Version Description
2.5.0 Introduced.