[wp-hackers] Plugin replacing a page based on http variables

James Davis james at freecharity.org.uk
Mon Sep 24 15:55:15 GMT 2007


James Davis wrote:

> I'd like to be able to provide a link on my plugin's management page to
> export the data held in a custom table to a CSV file. I've tried the
> admin-head action but that's not called early enough to generate a plain
> text page.

A quick search of the code reveals that I'm after the equivalent of the
get_header action for the admin pages but I can't seem to find such a
thing. I think I can work around that with some redirection.

Thanks,

James

-- 
http://www.freecharity.org.uk/ - Free IT services for charities
http://www.freecharity.org.uk/wiki/ - The VCSWiki


More information about the wp-hackers mailing list