This function has been deprecated since Version 4.4. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists. See also
(Add your language)
Returns the permalink for a post with a custom post type.
<?php echo post_permalink( $ID ); ?>
Echos the permalink url for the ID passed in
- (integer) (required) ID of the post or page that you wish to retrieve the link for.
- Default: 0
post_permalink() is located in