首页 WordPress函数大全 get_usernumposts()

get_usernumposts()

2020-05-02 / 5658阅 / 悠然

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

Warning: This function has been deprecated. Use count_user_posts() instead.

get_usernumposts( int $userid )

Retrieves the number of posts a user has written.

描述

See also See also

  • count_user_posts()

Top ↑

参数

$userid

(int)
(Required)
User to count posts for.

返回

(int) Number of posts the given user has written.

大家谈论
    我的见解