WordPress at Your Fingertips
function is not described

populate_roles_230() WP 2.3.0

Create and modify WordPress roles for WordPress 2.3.

No Hooks.

Return

null. Nothing.

Usage

populate_roles_230();

Changelog

Since 2.3.0 Introduced.

Code of populate_roles_230() WP 5.8.2

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

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