Summery Summery
Create and modify WordPress roles for WordPress 2.3.
Syntax Syntax
Source Source
File: wp-admin/includes/schema.php
function populate_roles_230() { $role = get_role( 'administrator' ); if ( ! empty( $role ) ) { $role->add_cap( 'unfiltered_upload' ); } }
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |