WordPress.org

Ready to get started?Download WordPress

Forums

Extended API
[resolved] Calling External Plugin Functions (3 posts)

  1. paolocaesar
    Member
    Posted 10 months ago #

    Hi,

    I understand this plugin makes it possible for us to call almost all WP functions externally via XMLRPC.

    But want I want to do is call one of my own functions available via a plugin through XMLRPC. Will this plugin of yours make that possible as well?

    Thanks,
    Paolo.

    http://wordpress.org/plugins/extended-xml-rpc-api/

  2. michaelgrosser
    Member
    Plugin Author

    Posted 10 months ago #

    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.

  3. paolocaesar
    Member
    Posted 10 months ago #

    Thanks Michael!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.