do_action( ‘wp_roles_init’, WP_Roles $wp_roles )

In this article

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

Parameters

$wp_rolesWP_Roles
A reference to the WP_Roles object.

Source

do_action( 'wp_roles_init', $this );

Changelog

VersionDescription
4.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.