WordPress at Your Fingertips
function is not described

populate_roles_260() WP 2.6.0

Create and modify WordPress roles for WordPress 2.6.

No Hooks.

Return

null. Nothing.

Usage

populate_roles_260();

Changelog

Since 2.6.0 Introduced.

Code of populate_roles_260() WP 5.8.2

function populate_roles_260() {
	$role = get_role( 'administrator' );

	if ( ! empty( $role ) ) {
		$role->add_cap( 'update_plugins' );
		$role->add_cap( 'delete_plugins' );
	}
}