wpalchemy
wpalchemy copied to clipboard
the confirmation on group delete button should be togglable and text should be custom
I believe that the code would improve by being able to have the user define if the group delete button should have an javascript confirm alert, and if yes it should be customizable.
This can be done globally by setting an wordpress javascript variable like so:
wp_localize_script(
Not sure the scriptname will work, because you load your javascript inside metabox. I like to seperate it. Which might be a good idea for an future version also.
I agree, good idea, i want to give as much control to the developer as needed.