wpseek.com
A WordPress-centric search engine for devs and theme authors



populate_roles_250 › WordPress Function

Since2.5.0
Deprecatedn/a
populate_roles_250 ( No parameters )
Defined at:
Codex:

Create and modify WordPress roles for WordPress 2.5.



Source

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

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