populate_roles

Execute WordPress role creation for the various WordPress versions.

Description

populate_roles(); 

Usage

  1. if ( !function_exists( 'populate_roles' ) ) { 
  2. require_once ABSPATH . '/wp-admin/includes/schema.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = populate_roles(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-admin/includes/schema.php  
  1. function populate_roles() {