だから、私がやろうとしているのは、WordPress ダッシュボードの投稿のリスト (私のものは実際にはカスタム投稿タイプです) を ID でフィルタリングすることです。
別の領域 (カスタム ウィジェット) をチェックして、ユーザーが特定の投稿を編集できるかどうかを確認しています (WordPress の役割を意図的に回避しているなどではありません)。編集できない場合は、その投稿をリストから除外/除外します。
このリストを取りたい:
画像を参照してください: https://lh6.googleusercontent.com/-nQLDUpoHUig/T84sUXwqNDI/AAAAAAAAB1o/fzZvCkSjawI/w678-h533-k/list_of_posts.PNG
...そして、別の関数が返す投稿 ID を除外します