Changeset 46596 for trunk/src/wp-includes/capabilities.php
- Timestamp:
- 10/26/2019 09:07:10 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/capabilities.php
r46451 r46596 808 808 * @since 2.0.0 809 809 * 810 * @param string $role Role name.810 * @param string $role Role name. 811 811 * @param string $display_name Display name for role. 812 * @param array $capabilities List of capabilities, e.g. array( 'edit_posts' => true, 'delete_posts' => false ); 812 * @param bool[] $capabilities List of capabilities keyed by the capability name, 813 * e.g. array( 'edit_posts' => true, 'delete_posts' => false ). 813 814 * @return WP_Role|null WP_Role object if role is added, null if already exists. 814 815 */
Note: See TracChangeset
for help on using the changeset viewer.