get_editable_authors

過濾鉤子
apply_filters('get_editable_authors', $authors)

get_editable_authors: 這個函式返回一個能夠編輯文章的使用者列表,不包括訂閱者。它被用來提供一個作者資訊的陣列,用於文章編輯。

獲取所有使用者ID。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
return apply_filters('get_editable_authors', $authors);
return apply_filters('get_editable_authors', $authors);
return apply_filters('get_editable_authors', $authors);

常見問題

FAQs
檢視更多 >