LearnDash_Permalinks::post_type_link( strng $post_link = '', Object $post = null, bool $leavename = false, bool $sample = false )

This second filter will correct calls to the WordPress get_permalink() function to use the new structure


Description Description


Parameters Parameters

$post_link

(Optional) The post's permalink.

Default value: ''

$post

(Optional) The WP_Post post in question.

Default value: null

$leavename

(Optional) Whether to keep the post name.

Default value: false

$sample

(Optional) Is it a sample permalink.

Default value: false


Top ↑

Source Source

File: includes/class-ld-permalinks.php


			

Top ↑

User Contributed Notes User Contributed Notes

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