首页 WordPress函数大全 get_the_tags()

get_the_tags()

2020-05-02 / 4937阅 / 悠然

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

get_the_tags( int $id )

Retrieve the tags for a post.

描述

参数

$id

(int)
(Required)
Post ID.

返回

(array|false|WP_Error) Array of tag objects on success, false on failure.

大家谈论
    我的见解