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

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


Alex Günsche wrote:

> The template_redirect hook will replace the actual output with yours.

Apologies for reopening my old thread but how could I do a similar thing
with the admin pages?

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.

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