Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
You create a user, add a custom role and a custom feature to him. Then for him you close everything except what is allowed, check for a new opportunity. Allow / close as follows
You get a list of plugins like this
global $wp_list_table;
$plugins = $wp_list_table->items;
#Ключами тут являются строки такого вида 'plugin-directory/plugin-file.php' проверять по ним
wp_die( 'Доступ запрещен' );
global $menu;
foreach ( $menu as $i => $item ) {
unset( $menu[ $i ] );
}
#В $item[2] строка вида page.php?param=param_val - проверять по нему
Install a plugin to hide menu items from the admin panel, and there it seems like you can hide certain items for users.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question