I’m using the admin only functionality with max recipients set to 0. This works fine for normal users, but it seems to apply for admins as well – I do want them to freely send to all users.
Additionally I want to change the order of “Message box” so its on the all left side, and “New message” after announcement. I tried searching the forum and following the codes sent by another user, but that didn’t work (it only created a couple of additional empty menu items)
You can use Role to Role block feature. Please go to Front End PM PRO > Settings > Security > Role to Role Block
Set “From Role” as any role (except Administrator as you want admin to send message ), “To Role” as “All Roles” and “Block For” as “New Message”. This block other role users from sending new message (They can send message to admin, if you set that).
For changing order add following code in your theme’s (child theme’s if any) functions.php
I want to create a “toggle” button for the “fep-action-table” (I want as clean UI as possible). I can manage to add the JS which toggle the stuff myself, but how do I add a custom button to the menu (i.e. “Edit”) with an unique class?