首页 WordPress函数大全 get_editable_roles()

get_editable_roles()

2020-05-01 / 2942阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

get_editable_roles()

Fetch a filtered list of user roles that the current user is allowed to edit.

描述

Simple function whose main purpose is to allow filtering of the list of roles in the $wp_roles object so that plugins can remove inappropriate>

Return Return

(array[]) Array of arrays containing role information.

大家谈论
    我的见解