WordPress at Your Fingertips
function is not described

populate_roles_300() WP 3.0.0

Create and modify WordPress roles for WordPress 3.0.

No Hooks.

Return

null. Nothing.

Usage

populate_roles_300();

Changelog

Since 3.0.0 Introduced.

Code of populate_roles_300() WP 5.8.2

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

	if ( ! empty( $role ) ) {
		$role->add_cap( 'update_core' );
		$role->add_cap( 'list_users' );
		$role->add_cap( 'remove_users' );
		$role->add_cap( 'promote_users' );
		$role->add_cap( 'edit_theme_options' );
		$role->add_cap( 'delete_themes' );
		$role->add_cap( 'export' );
	}
}