[wp-hackers] Modifying admin forms via plugins
Ryan Boren
ryan at boren.nu
Tue Jun 22 19:38:15 UTC 2004
Subject line changed.
On Tue, 2004-06-22 at 13:26, Alex King wrote:
> Having a hook to allow plugins to show an options form for their
> settings seems like a good idea to me.
>
> The hack writers could wrap their options forum in a function and we
> could use something like this (that would be included in the plugin):
>
> add_filter('options', 'hack_options');
Sure, that would avoid having to reposition. How about adding these
right before the Save/Publish buttons?
do_action('edit_form_options', '');
do_action('edit_form_advanced_options', '');
Ryan
> On Jun 22, 2004, at 12:16 PM, Ryan Boren wrote:
>
> >> * what you'd like to get out of this list
> >>
> >> - I'd like to be involved in WP development
> >> - Some more hooks in the admin panel, especially in the edit form
> >
> > You can work with the DOM and place whatever you like wherever you like
> > it in the edit form. See attached plugin for a simple example.
> >
> > Ryan
> > <post_keywords.php>_______________________________________________
> > hackers mailing list
> > hackers at wordpress.org
> > http://wordpress.org/mailman/listinfo/hackers_wordpress.org
>
>
> _______________________________________________
> hackers mailing list
> hackers at wordpress.org
> http://wordpress.org/mailman/listinfo/hackers_wordpress.org
More information about the hackers
mailing list