WordPress at Your Fingertips
function is not described

populate_roles_250() WP 2.5.0

Create and modify WordPress roles for WordPress 2.5.

No Hooks.

Return

null. Nothing.

Usage

populate_roles_250();

Changelog

Since 2.5.0 Introduced.

Code of populate_roles_250() WP 5.8.2

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

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