Warning: This function has been deprecated. Use get_posts() instead.
get_others_drafts( int $user_id )
Retrieve drafts from other users.
描述
参数
- $user_id
-
(int)
(Required)
User ID.
返回值
(array) List of drafts from other users.
源代码
File: wp-admin/includes/deprecated.php
function get_others_drafts($user_id) {
_deprecated_function( __FUNCTION__, '3.1.0' );
return get_others_unpublished_posts($user_id, 'draft');
}
更新日志
Version | 描述 |
---|---|
3.1.0 | Introduced. |
相关函数
Uses
-
wp-admin/includes/deprecated.php:
get_others_unpublished_posts() -
wp-includes/functions.php:
_deprecated_function()
你可能对这些文章感兴趣:
- wordpress函数get_the_posts_navigation()用法示例
- wordpress函数get_the_title()用法示例
- wordpress函数get_the_terms()用法示例
- wordpress函数get_the_tags()用法示例
- wordpress函数get_the_taxonomies()用法示例
- wordpress函数get_the_permalink()用法示例
- wordpress函数get_the_password_form()用法示例
- wordpress函数get_the_posts_pagination()用法示例
- wordpress函数get_the_modified_time()用法示例
- wordpress函数get_the_modified_date()用法示例
- wordpress函数get_the_modified_author()用法示例
- wordpress函数get_the_guid()用法示例
- wordpress函数get_the_ID()用法示例
- wordpress函数get_the_excerpt()用法示例
如有疑问,请前往问答中心反馈!
反馈