How to allow users in the role of author, upload media via ad form in frontend?
ClassiPress 4.1.3
Hello, I would like the user, as author, to upload images via frontend.
I edited in the functions.php line:
'media_buttons' => false,
for :
'media_buttons' => true,
What activated the add media button in the announcement form, however, when the user in the author status, loading an image appears the message that he is not allowed to upload images.
Is there any way to authorize authors to load media via frontend? I would like it to remain in the author function, because in the editor function it works, but also allows unwanted edits.
I've tried a lot to find a solution but it did not work.