Hi Amit,
Yes, right now the admin and editor can edit the cloud templates.
What it can be used in this situation is a function that will display the cloud templates only if the logged user is an admin.
Here is the code – https://pastebin.com/P3aWUA7M and it can be set in a child theme in functions.php
I hope this will help you!
Hi,
Indeed, I made a better code – https://pastebin.com/Z2QHR3pf
I hope this will remove the option from all possible locations.
Let me know the results!
Hi,
Yes, it seems that this problem appears due to the css tags in the remove_cloud_templates_for_non_admin function, there need to be used a different solution to not use the style tags when the add_action is used on admin_menu.
I asked a developer to give me a better solution and when I get an answer I will let you know.
Thank you for your understanding!
Hi tony7pt, if you want you can use a function, this code can be set in a child theme in functions.php, the code can be get from here – https://pastebin.com/ryZys9Az
Thank you!
