init_roles

  • do_action( 'init_roles'   )

    Source Reference:

    • Component: bbPress:: bbp-admin
      File: /bbp-admin/importers/bbpress.php :: Trac Source Line: 212
      		// Ghetto role map
      		if ( is_object( $wp_roles ) ) {
      			$bb_roles = $wp_roles;
      			bb_init_roles( $bb_roles );
      		}
      
      		// Call the standard bbPress actions
      		do_action( 'bb_got_roles' );
      		do_action( 'bb_init'      );
      		do_action( 'init_roles'   );
      
      		// Setup required objects
      		$bb_current_user = $current_user;
      		$wp_users_object = new bbPress_Importer_BB_Auth;
      
      		// Taxonomy object
      		if ( !isset( $wp_taxonomy_object ) )
      			$wp_taxonomy_object = new BB_Taxonomy( $bbdb );
      
      		$wp_taxonomy_object->register_taxonomy( 'bb_topic_tag', 'bb_topic' );
      

Comments are closed.