add_cap 函数是WordPress中的一个函数,用于为指定的用户角色添加指定的权限。它的基本用法如下: add_cap( $role, $cap, $grant ) $role:要为其添加 ...
確定! 回上一頁