LearnDash_Permalinks::get_sample_permalink( array $permalink = '', int $post_id, string $title = '', string $name = '', object $post = '' )

Hook into the admin post editor Permalink display. We override the LD post items so they include the full nested URL


Description Description


Parameters Parameters

$permalink

(Optional) Array containing the sample permalink with placeholder for the post name, and the post name.

Default value: ''

$post_id

(Required) Post ID.

$title

(Optional) Post title.

Default value: ''

$name

(Optional) Post name (slug).

Default value: ''

$post

(Optional) (WP_Post) Post object.

Default value: ''


Top ↑

Source Source

File: includes/class-ld-permalinks.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.