wp_roles_init

wp_roles_init

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('wp_roles_init') is found 1 times:

  • /wp-includes/class-wp-roles.php line 303
    		 * @since 4.7.0
    		 *
    		 * @param WP_Roles $wp_roles A reference to the WP_Roles object.
    		 */
    		do_action( 'wp_roles_init', $this );
    	}
    
    	/**
    	 * Sets the site to operate on. Defaults to the current site.
    	 *
    	 * @since 4.9.0
    

See this hook used in plugins: