do_action( 'wp_roles_init', WP_Roles $wp_roles )

Fires after the roles have been initialized, allowing plugins to add their own roles.


Parameters

$wp_roles

A reference to the WP_Roles object.


Source

File: wp-includes/class-wp-roles.php

View on GitHub



Changelog

Changelog
Version Description
4.7.0 Introduced.