What is the best way to access donation details from another plugin?
-
I see you’re following a lot of the structure of WooCommerce, so now I wonder if you are using an API call (like $give->getDonation() or some such) for accessing the underlying data or if I should just be using a WP get_post() with the donation ID and access post metadata to get the information I need. I’d like to do this in a way that is most likely to be consistent with your expected methods and most durable over time.
Yes, I have read the documentation. It is still a work in progress and this question does not yet appear to be covered.
It does not make sense to connect to the REST API when I’m already using a plugin in the same WordPress installation, so I’m hoping that’s not the answer.
- The topic ‘What is the best way to access donation details from another plugin?’ is closed to new replies.