[Solution found!] 唯一的先决条件current_user_can()是存在wp_get_current_user()。后者是在中定义的pluggable.php,因此您可以在之后使用它plugins_loaded。
確定! 回上一頁