the_permalink

Advertisement

Summery Summery

Displays the permalink for the current post.

Syntax Syntax

the_permalink( int|WP_Post $post )

Parameters Parameters

$post

(int|WP_Post) (Optional) Post ID or post object. Default is the global $post.

Source Source

File: wp-includes/link-template.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Added the $post parameter.
1.2.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.