Support » Plugin: Extended API » Calling External Plugin Functions

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author michaelgrosser

    (@michaelgrosser)

    Hi Paolo,
    I would not rely on it for your functions methods due to the fact that there is no way to guarantee in WordPress that my plugin loads after your plugin loads. This means that, in the top-down PHP execution, the functions from your module may not have been declared yet by the time my plugin instantiates. Due to the mechanism by which my plugin reads available functions, your functions would be unreadable in that situation.

    You can, however, use the source of my module as an example for how you can expose the methods of your module similarly, though you’d have to implement the code directly in your module.

    Thanks Michael!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Calling External Plugin Functions’ is closed to new replies.