Changeset 48586 for trunk/src/wp-includes/class-wp-roles.php
- Timestamp:
- 07/23/2020 07:59:16 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-roles.php
r48197 r48586 96 96 * @since 4.0.0 97 97 * 98 * @param string 99 * @param array 98 * @param string $name Method to call. 99 * @param array $arguments Arguments to pass when calling. 100 100 * @return mixed|false Return value of the callback, false otherwise. 101 101 */ … … 201 201 * @since 2.0.0 202 202 * 203 * @param string $role Role name.204 * @param string $cap Capability name.205 * @param bool $grantOptional. Whether role is capable of performing capability.206 * Default true.203 * @param string $role Role name. 204 * @param string $cap Capability name. 205 * @param bool $grant Optional. Whether role is capable of performing capability. 206 * Default true. 207 207 */ 208 208 public function add_cap( $role, $cap, $grant = true ) {
Note: See TracChangeset
for help on using the changeset viewer.