The Bitcoin and Altcoin Wallets WordPress plugin offers a PHP API that is accessible to other themes and plugins.
Purpose of the PHP API
- You can access the API from your theme to perform transactions on behalf of your users.
- You can develop plugins that utlise the PHP API.
- You can install plugins that the Dashed-Slug releases to extend functionality. Many such plugins are on the roadmap.
How to call the PHP API
First you must call
Dashed_Slug_Wallets::get_instance() to get an instance of the wallets plugin class. Refer to the auto-generated PHPdoc for a complete reference of what you can do and access via the Wallets PHP API.
As a side note, this also means that you must double-check what themes and plugins are installed on your site. Every piece of code that your site runs must be trustworthy for security reasons. Do not install themes or plugins from unknown sources without checking the code thoroughly. You should be already aware of this.
Wallets PHP API
Updated on 2017-01-05T16:23:21+00:00, by .