Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
413 views
in Plugins by

From a page in my plugin I want to redirect back to the admin area. I can redirect to example.com/admin/plugins just fine, I just want to jump down to the plugin options if possible (i.e. add the #a1b2c3etc on the end).

It looks like this is made in qa-page-admin-plugins.php with this line:

$pluginoptionanchors[$info['directory']][]=md5($type.'/'.$name);

Can I get the $type and $name variables easily from my plugin?

Q2A version: 1.5

1 Answer

+1 vote
by

Yes, the $type and $name are simply the values you passed to qa_register_plugin_module(...).

by
Thanks, I did figure this out eventually :)
...