WordPress at a glance
function is not described

populate_roles_270() WP 2.7.0

Create and modify WordPress roles for WordPress 2.7.

No Hooks.

Return

Null. Nothing.

Usage

populate_roles_270();

Changelog

Since 2.7.0 Introduced.

Code of populate roles 270: wp-admin/includes/schema.php WP 5.2.2

<?php
function populate_roles_270() {
	$role = get_role( 'administrator' );

	if ( ! empty( $role ) ) {
		$role->add_cap( 'install_plugins' );
		$role->add_cap( 'update_themes' );
	}
}