Tag Archive: capability
Admin-triggered e-mail
Here’s something that touches on lots of topics. A ‘send e-mail’ button within an admin panel, that opens up a ThickBox window with a standalone form and wp_editor.
The metabox
This requires two functions: one hooked into ‘add_meta_boxes’ which calls the second, the metabox output function:
Most of the second function builds the URL for the button’s href attribute. It points to a ...