Edit settings with PHP

in Download Manager Free

Viewing 7 posts - 1 through 7 (of 7 total)
Jun 11, 2022 at 2:44 pm
#173046
Participant
tomo 2403
OP

Hello, is it possible to edit the access setting of a package with PHP code?

Jun 11, 2022 at 3:00 pm
#173047
Participant
neds steven
This reply has been marked as private.
Jun 13, 2022 at 3:05 pm
#173095
Moderator
Nayeem Riddhi
Staff

Hello tomo,

Hope you are well. Can you please elaborate more on your issue with the access setting of a package? I hope I can help you regarding the issue. please let me know then

Thank you and regards

Jun 13, 2022 at 6:12 pm
#173103
Participant
tomo 2403
OP

Hello Nayeem,

I want to edit the “Allow access” option with a PHP hook, when a new package is created. Some users on my site can add new packages through the backend, but don’t always set the correct permissions for them. Thats why I want to set them to specific roles after a package is created.

Thanks, tomo

Jun 15, 2022 at 10:43 am
#173158
Moderator
Nayeem Riddhi
Staff

Hello tomo,

For that, you can also default values add-on,

WPDM Default Values

Thus, I hope you can also manage other options too. please check and let me know

Thank you and regards

Jun 15, 2022 at 2:04 pm
#173170
Participant
tomo 2403
OP

Thanks, that worked.

Jun 17, 2022 at 2:43 pm
#173237
Moderator
Nayeem Riddhi
Staff

Glad to hear that, your problem has been resolved.

Thank you and regards

Viewing 7 posts - 1 through 7 (of 7 total)

The topic "Edit settings with PHP" is closed to new replies.