函数原型
permalink_anchor( string $mode = ‘id’ )
函数描述
Displays the permalink anchor for the current post.
是否弃用
未弃用
函数参数
-
$mode
string
Optional - Permalink mode. Accepts
'title'or'id'. Default'id'.Default:
'id'
函数返回值
无
函数位置
File: wp-includes/link-template.php.
函数源码
permalink_anchor( $type );源码链接
变更日志
| Version | Description |
|---|---|
| 0.71 | Introduced. |

