forked from Michel2/wp-jquery-datatable
Changed the user role for the options page from 'administrator' to 'manage_options'
This commit is contained in:
@@ -46,7 +46,7 @@ function wp_jdt_create_menu()
|
||||
{
|
||||
|
||||
//create admin side menu
|
||||
add_options_page(__('WP jQuery DataTable Settings', 'wp-jquery-datatable'), __('WP jQuery DataTable', 'wp-jquery-datatable'), 'administrator', 'wp-jdt', 'wp_jdt_settings_page');
|
||||
add_options_page(__('WP jQuery DataTable Settings', 'wp-jquery-datatable'), __('WP jQuery DataTable', 'wp-jquery-datatable'), 'manage_options', 'wp-jdt', 'wp_jdt_settings_page');
|
||||
|
||||
//call register settings function
|
||||
add_action('admin_init', 'wp_jdt_settings');
|
||||
|
||||
Reference in New Issue
Block a user