I have a plugin that appears on the post and page editor screen and parses the editor content and reports back some info to the user.
I need this same plugin to appear on the category editor screen and report against the "Description" field.
Any ideas how it can be done?
I'm hoping WP 3.3 may make it easier to implement.
Here's how I'm adding the plugin to the editor screens:
add_action('admin_menu', 'my_post_options_box');
function my_post_options_box() {
add_meta_box('my-plugin', __('My Plugin'), 'test', 'post', 'side', 'high');
add_meta_box('my-plugin', __('My Plugin'), 'test', 'page', 'side', 'high');
}
I'd like to be able to add this:
add_meta_box('my-plugin', __('My Plugin'), 'test', 'category_edit', 'side', 'high');
admin_menufor adding meta boxes.. Please use theadd_meta_boxesaction for adding meta boxes. – t31os Dec 13 '11 at 18:25add_meta_boxesin place ofadmin_menu(of course when hooking to a screen that supports meta boxes).. :) – t31os Dec 13 '11 at 21:15