I'm creating a wordpress wordpress plugin that collects information in the user after which presents it within an admin screen inside a table. I must also have the ability to download this table to stand out. I understand how to perform a fundamental download to stand out file in PHP with this particular code:

header("Content-Disposition: attachment; filename=\"$filename\"");
header("Content-Type: application/vnd.ms-excel");

which in turn converts all the page output for an stand out file.

However in this situation, I have to also have the ability to use wordpress functions like get_option(), that we can't use in a straight known as php file. But when I turn it into a wordpress admin page, the admin skin will get incorporated during my file.

Anybody understand how to do an stand out download in the wordpress admin screen which includes info from wordpress functions like get_option?

Now you ask , not obvious.

But, If you're speaking about posting stand out sheet of information into WordPress, then xl2wp is the perfect plug-in. It may import Title, publish date, excerpt, tags, all-in-one Search engine optimization data, groups and custom fields.

you'll find it here http://xl2wp.sigmaNames.com