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.

I have a basic plugin admin options panel for events. I want to call a function that is from a different social media plugin (Mingle). I can call Mingle plugin functions in the theme, but not within core files of other plugins, or other plugins' admin panels it seems.

I have tried including the other plugin's files, adding a hook to the theme functions file, add_action, add_filter, init etc. But I do not know what the first argument for those actions would be, since I want the function inserted into a specific admin page from another plugin.

The only solution that has worked is merging the code of the two plugins, although it seems odd that there is not a simpler method.

share|improve this question
    
Also both plugins declare their functions in a class –  Graham Jun 30 '12 at 18:14

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.