get_usernumposts()
最后更新于:2021-11-27 03:33:13
get_usernumposts( int$userid)Retrieves the number of posts a user has written.
参数
- $userid
-
(int) (Required) User to count posts for.
响应
(int) Number of posts the given user has written.
源文件
文件: gc-includes/deprecated.php
function get_usernumposts( $userid ) {
_deprecated_function( __FUNCTION__, '3.0.0', 'count_user_posts()' );
return count_user_posts( $userid );
}