2020-05-01 / 4619阅 / 悠然
Get a sample permalink based off of the post name.
(int)
(Required)
Post ID or post object.
(string)
(Optional)
Title to override the post's current title when generating the post name.
Default value: null
(string)
(Optional)
Name to override the post name.
Default value: null
(array) Array containing the sample permalink with placeholder for the post name, and the post name.