[wp-hackers] Re: Plugin interference

Alexander Beutl xel at netgra.de
Thu Apr 10 15:46:04 GMT 2008


maybe this one:
admin_head-(page_hook) or admin_head-(plugin_page)
and that one:
admin_print_scripts-(page_hook) or admin_print_scripts-(plugin_page)

should be some better documented...
I didn't got them to work in any way - I than just used admin_head and
checked, if the get params indicate that it's my plugin-page.
Using the above would have made this just a bit more easy (and less time
consuming, since I spend at least 1/2 hour trying to figure out what I have
to write instead of (plugin_page). Filename didn't work, Plugin Name didn't
work, called function didn't work...
Maybe I did something wrong and I would have worked with one of those
otherwise... but providing a nice minimalistic example wouldn't hurt
anybody.

This would - maybe - save some of the coders from missing to add it only on
the right page...

2008/4/10, gbellucci <gabellucci at gmail.com>:
>
>
> No - you're safe. ~8o)
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list