wpseek.com
WordPress开发者和主题制作者的搜索引擎



get_usernumposts › WordPress Function

Since0.71
已弃用3.0.0
get_usernumposts ( $userid )
参数:
  • (int) $userid User to count posts for.
    Required: Yes
查看:
返回:
  • (int) Number of posts the given user has written.
定义在:
文档:

Retrieves the number of posts a user has written.



源码

function get_usernumposts( $userid ) {
	_deprecated_function( __FUNCTION__, '3.0.0', 'count_user_posts()' );
	return count_user_posts( $userid );
}