populate_roles_280() In this article Table of ContentsSource Related Changelog ↑ Back to top Create and modify WordPress roles for WordPress 2.8. Source function populate_roles_280() { $role = get_role( 'administrator' ); if ( ! empty( $role ) ) { $role->add_cap( 'install_themes' ); } } View all references View on Trac View on GitHub Related UsesDescriptionget_role()wp-includes/capabilities.phpRetrieves role object. Used byDescriptionpopulate_roles()wp-admin/includes/schema.phpExecute WordPress role creation for the various WordPress versions. Changelog VersionDescription2.8.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.