wp_post_url()
Twig function of the framework; its result is escaped like any value.
The URL of a post, page or entry of another post type, as returned by
get_permalink(). Returns '' if the ID is null, the post does not
exist or is not publicly viewable (except when the block editor renders
the block).
Returns string