Sets up the object properties.
The role key is set to the current prefix for the $wpdb object with ‘user_roles’ appended. If the $wp_user_roles global is set, then it will be used and the role option will not be updated or used.
protected function _init() {
_deprecated_function( __METHOD__, '4.9.0', 'WP_Roles::for_site()' );
$this->for_site();
}
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_roles/_init