it is possible to restrict non-admin authors level from deleting their own uploaded files????
right click also...
Thanks!
right click also...
Thanks!
A
3 years ago
·
#15017 Hi,
Thanks for contacting us here about this extension.
Yes, it could be customized as your request. Please put the code below in "functions.php" file of your current theme.
Hope it helps!
Kind regards,
Thanks for contacting us here about this extension.
it is possible to restrict non-admin authors level from deleting their own uploaded files????
right click also...
Yes, it could be customized as your request. Please put the code below in "functions.php" file of your current theme.
add_action('init', 'wpmf_remove_author_capabilities');
function wpmf_remove_author_capabilities()
{
$author = get_role('author');
$author->remove_cap('delete_posts');
}
Hope it helps!
Kind regards,
Thank you very much but it doesn't worked for me, i have latest version of WP Media folder "Version 5.2.5" and after file upload in gread mode on right click apears a mini menu with options like "edit/remove/get link/move to / multi folders" like in imgur image attached
https://imgur.com/G1ByYdw
https://imgur.com/G1ByYdw
Kind regards!
https://imgur.com/G1ByYdw
https://imgur.com/G1ByYdw
Kind regards!
A
3 years ago
·
#15067 Hi,
Thanks for getting back to me with more information.
Yes, the code is served for the quick modification. The Remove button still remains but it will not work when clicking on.
For further customization, please drop us a ticket (menu Support > Support ticket), our developer in charge will help you in details.
Thanks a lot!
Kind regards,
Thanks for getting back to me with more information.
i have latest version of WP Media folder "Version 5.2.5" and after file upload in gread mode on right click apears a mini menu with options like "edit/remove/get link/move to / multi folders" like in imgur image attached
Yes, the code is served for the quick modification. The Remove button still remains but it will not work when clicking on.
For further customization, please drop us a ticket (menu Support > Support ticket), our developer in charge will help you in details.
Thanks a lot!
Kind regards,
- Page :
- 1
There are no replies made for this post yet.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »