populate_roles() WordPress Function
The populate_roles() function is used to add new roles to WordPress. This function is typically used when a new WordPress installation is created.
populate_roles() #
Execute WordPress role creation for the various WordPress versions.
Source
File: wp-admin/includes/schema.php
function populate_roles() { populate_roles_160(); populate_roles_210(); populate_roles_230(); populate_roles_250(); populate_roles_260(); populate_roles_270(); populate_roles_280(); populate_roles_300(); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |