Changeset 54332 for trunk/src/wp-includes/capabilities.php
- Timestamp:
- 09/27/2022 04:29:59 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/capabilities.php
r54259 r54332 1088 1088 * Determines whether user is a site admin. 1089 1089 * 1090 * @since 6.1.01091 *1092 * This function is an alias for is_super_admin().1093 *1094 * @see is_super_admin()1095 *1096 * @param int|false $user_id Optional. The ID of a user. Defaults to false, to check the current user.1097 * @return bool Whether the user is a site admin.1098 */1099 function is_super_admin_user( $user_id = false ) {1100 return is_super_admin( $user_id );1101 }1102 1103 /**1104 * Determines whether user is a site admin.1105 *1106 1090 * @since 3.0.0 1107 1091 *
Note: See TracChangeset
for help on using the changeset viewer.