the_ID()
the_ID() 显示WordPress循环中当前项的ID。 Display the ID of the cu…
the_ID()
显示WordPress循环中当前项的ID。
Display the ID of the current item in the WordPress Loop.
显示WordPress循环中当前项的ID。
Display the ID of the current item in the WordPress Loop.
目录锚点:#参数#源码#笔记
参数(Parameters)
| 参数 | 类型 | 说明 |
|---|
源码(Source)
/**
* Display the ID of the current item in the WordPress Loop.
*
* @since 0.71
*/
function the_ID() {
echo get_the_ID();
}| 更新版本 | 源码位置 | 使用 | 被使用 |
|---|---|---|---|
| 0.71 | wp-includes/post-template.php | 17 | 5 |
笔记(Notes)
默认用法。
类别:WordPress 函数手册、
本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。





还没有任何评论,赶紧来占个楼吧!