Home › Forums › Front End PM PRO › Always send to admin
Tagged: admin
- This topic has 8 replies, 3 voices, and was last updated 6 years ago by Shamim Hasan.
- AuthorPosts
- February 5, 2020 at 6:02 pm #34124Dan GawlikParticipant
Hello is it possible to disable the recipient and always make the recipient the admin? It could a custom code on functions.php as long as we can make it work.
February 5, 2020 at 8:03 pm #34137Shamim HasanKeymasterPlease go to dashboard > Front End PM > Settings > Recipients. under Only Admin section you can set your admin. And set max recipients to 0 (zero)
This will to the trick.
Let me know.
February 6, 2020 at 8:57 am #34160Dan GawlikParticipantok thanks it works
February 6, 2020 at 8:36 pm #34196Kamil KrzeminskiParticipantHello,
is it possible to do the above but only for non-admin users?February 7, 2020 at 11:16 am #34224Shamim HasanKeymasterYou means non-admin user only can send message? Admin user can’t?
February 7, 2020 at 1:12 pm #34234Kamil KrzeminskiParticipantI meant: non-admin user can send message to admin only, but admin can message any user.
February 7, 2020 at 8:55 pm #34254Shamim HasanKeymasterYes possible. You will need to use different feature.
1. Set Dashboard > Front End PM > Settings > Recipients > Max recipient to 1 (one)
2. Follow https://sp-test1.arogga.co/docs/front-end-pm-pro/getting-started-2/role-to-role-block/ (last 2 paragraphs) for each role except admin role.Let me know.
February 10, 2020 at 5:05 pm #34350Kamil KrzeminskiParticipantHey there,
it does seem to work, however I would like do disable “TO” field altogether for anyone but admins. Just send to admin by default (without checkbox) while leaving this field for admin.Cheers.
February 10, 2020 at 8:26 pm #34359Shamim HasanKeymasterIt should not show any checkbox. It should hide “To” field altogether for your set user roles. Did you follow last 2 paragraphs from that docs page?
How many admins you have added? - AuthorPosts
You need to purchase ‘Front End PM PRO’ to create topic in this support forum.
If you already purchased ‘Front End PM PRO’ please LOGIN.