get_others_drafts
云策文档标注
概述
本文档介绍了 WordPress 函数 get_others_drafts,用于检索当前用户之外其他用户的草稿或待审文章。该函数支持指定文章类型,如 'draft'、'pending' 或 'any'。
关键要点
- 函数 get_others_drafts 用于获取非当前用户的草稿或待审文章。
- 参数 $type 可选,指定检索的文章类型,接受 'draft'、'pending' 或 'any'(全部)。
- 文档提供了相关参考链接,如 Trac 和 GitHub,供开发者进一步查阅。
原文内容
Source
* @param string $type Optional. Post type to retrieve. Accepts 'draft', 'pending' or 'any' (all).