Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Admin_Profile::current_user_can_edit_admin_custom_fields()
Check whether the current user can edit users custom fields
Return Return
(boolean)
Source Source
File: includes/admin/class-llms-admin-profile.php
private function current_user_can_edit_admin_custom_fields() { return current_user_can( 'manage_lifterlms' ) && current_user_can( 'edit_users' ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |