Warning: This function has been deprecated. Use get_posts() instead.
get_others_pending( int $user_id )
Retrieve pending review posts from other users.
描述
参数
- $user_id
-
(int)
(Required)
User ID.
返回值
(array) List of posts with pending review post type from other users.
源代码
File: wp-admin/includes/deprecated.php
function get_others_pending($user_id) {
_deprecated_function( __FUNCTION__, '3.1.0' );
return get_others_unpublished_posts($user_id, 'pending');
}
更新日志
Version | 描述 |
---|---|
3.1.0 | Introduced. |
相关函数
Uses
-
wp-admin/includes/deprecated.php:
get_others_unpublished_posts() -
wp-includes/functions.php:
_deprecated_function()
你可能对这些文章感兴趣:
- wordpress函数has_filter()用法示例
- wordpress函数has_meta()用法示例
- wordpress函数has_excerpt()用法示例
- wordpress函数has_header_video()用法示例
- wordpress函数has_category()用法示例
- wordpress函数has_custom_logo()用法示例
- wordpress函数has_custom_header()用法示例
- wordpress函数hash_hmac()用法示例
- wordpress函数grant_super_admin()用法示例
- wordpress函数get_the_post_thumbnail_url()用法示例
- wordpress函数hash_equals()用法示例
- wordpress函数got_url_rewrite()用法示例
- wordpress函数gzip_compression()用法示例
- wordpress函数got_mod_rewrite()用法示例
如有疑问,请前往问答中心反馈!
反馈