Changeset 45418 for trunk/src/wp-includes/class-wp-user.php
- Timestamp:
- 05/25/2019 09:58:18 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-user.php
r43651 r45418 722 722 * @see map_meta_cap() 723 723 * 724 * @param string $cap 725 * @param int $object_id,...Optional. ID of a specific object to check against if `$cap` is a "meta" capability.726 * 727 * 728 * 724 * @param string $cap Capability name. 725 * @param int ...$object_id Optional. ID of a specific object to check against if `$cap` is a "meta" capability. 726 * Meta capabilities such as `edit_post` and `edit_user` are capabilities used by 727 * by the `map_meta_cap()` function to map to primitive capabilities that a user or 728 * role has, such as `edit_posts` and `edit_others_posts`. 729 729 * @return bool Whether the user has the given capability, or, if `$object_id` is passed, whether the user has 730 730 * the given capability for that object.
Note: See TracChangeset
for help on using the changeset viewer.