PluginProbe
School Management System – WPSchoolPress / 2.2.43
School Management System – WPSchoolPress v2.2.43
2.2.48 2.2.47 2.2.46 2.2.45 2.2.44 2.2.43 2.2.42 2.2.41 2.2.40 2.2.39 2.2.38 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 2.0.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.13 All 103 releases
wpschoolpress / lib / wpsp-deactivation.php

wpsp-deactivation.php in School Management System – WPSchoolPress 2.2.43, at lib/wpsp-deactivation.php

18 lines 591 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) )
3 exit('No Such File');
4
5 require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
6
7 $wp_roles = new WP_Roles();
8 // $wp_roles->remove_role('teacher');
9 // $wp_roles->remove_role('student');
10 // $wp_roles->remove_role('parent');
11 // $wp_roles->add_role('subscriber', __('Subscriber' ));
12 // $wp_roles->add_role('editor',__('editor' ));
13 // $wp_roles->add_role('contributor',__('contributor'));
14 // $wp_roles->add_role('author',__('author'));
15 // $wp_roles->add_role('client',__('client'));
16
17 ?>
18