wp-better-attachments
wp-better-attachments copied to clipboard
Feature Request - Add option to disable media button, update to media_button
Hello,
I had a couple requests/ideas/issues with the Add Attachments media button please.
- Can update to use media_buttons as media_buttons_context is deprecated.
- Can enable global option to disable. Currently, can disable through post-type but that disable other features.
- Provide filter for conditional check so plugins/themes can disable button programmatically.
- Fix on front-end if wp_editor enabled.
My usecase that brought me to the topic was needing to disable on front-end as it wasn't functional. I have a custom wp_editor on Buddypress Groups Admin for a field. To disable had to disable 'page' post-type as BP groups admin isn't a post-type.
Thank you
Hello,
These all seem like good ideas and I would be happy to accept a PR on them but sadly I have not really been doing much with this project lately. If I do end up picking it up again I will take care of these things.