首页 WordPress函数大全 get_the_ID()

get_the_ID()

2020-05-02 / 4791阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

get_the_ID()

Retrieve the ID of the current item in the WordPress Loop.

描述

Return Return

(int|false) The ID of the current item in the WordPress Loop. False if $post is not set.

大家谈论
    我的见解