mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
Improve PHPDoc formatting for get_the_permalink()
.
See #27700. Built from https://develop.svn.wordpress.org/trunk@28001 git-svn-id: http://core.svn.wordpress.org/trunk@27831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
35fb93858a
commit
d568e9029d
@ -69,12 +69,15 @@ function permalink_anchor( $mode = 'id' ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieve full permalink for current post or post ID. Alias for get_permalink().
|
* Retrieve full permalink for current post or post ID.
|
||||||
|
*
|
||||||
|
* This function is an alias for get_permalink().
|
||||||
*
|
*
|
||||||
* @since 3.9.0
|
* @since 3.9.0
|
||||||
|
*
|
||||||
* @see get_permalink()
|
* @see get_permalink()
|
||||||
*
|
*
|
||||||
* @param int|WP_Post $id Optional. Post ID or post object. Defaults current post.
|
* @param int|WP_Post $id Optional. Post ID or post object. Default is the current post.
|
||||||
* @param bool $leavename Optional. Whether to keep post name or page name. Default false.
|
* @param bool $leavename Optional. Whether to keep post name or page name. Default false.
|
||||||
* @return string|bool The permalink URL or false if post does not exist.
|
* @return string|bool The permalink URL or false if post does not exist.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user