Edit settings with PHP

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

tomo 2403
Participant

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

#173047

neds steven
Participant
This reply has been marked as private.
#173095

Nayeem Riddhi
Moderator

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

#173103

tomo 2403
Participant

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

#173158

Nayeem Riddhi
Moderator

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

#173170

tomo 2403
Participant

Thanks, that worked.

#173237

Nayeem Riddhi
Moderator

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.