Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Currently, in my plugin description, I'm hardcoding...

To customize options <a href="options-general.php?page=my-plugin-admin.php">click here</a>

Is there a dynamic method to call the plugin options page?

share|improve this question
    
@Scott B: - I may be drawing a blank, but my answer is "No"... –  MikeSchinkel Feb 3 '11 at 18:23
1  
Maybe he means the "Settings" link that some pluings have in the plugins list? –  Zack Feb 3 '11 at 18:58
3  
Are you talking about something like this? wpengineer.com/1295/meta-links-for-wordpress-plugins –  t31os Feb 3 '11 at 19:03
    
@Zack & @t310s: YES! Please make it an answer so I can give credit :) –  Scott B Feb 3 '11 at 19:17
    
If he doesn't make it an answer, I'll go ahead and make the answer. Want to give him time to post it since he provided the actual answer. –  Zack Feb 3 '11 at 19:26
show 1 more comment

1 Answer

up vote 3 down vote accepted

You're looking for a plugin settings link that's dynamically generated.

This would be one approach.
http://wpengineer.com/1295/meta-links-for-wordpress-plugins/

share|improve this answer
    
To be honest, i wouldn't actually suggest the file name as the handle for a plugin(though i'm not suggesting it's wrong), it was just the first decent example i found with a quick google. I'll add my own example in due course.. –  t31os Feb 4 '11 at 0:14
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.