Where to learn the "right" way to code my plugin?
-
Good Morning All.
I’m building my first plugin and it will do three main tasks.
It will submit a post, submit an email to an autoresponder API (getresponse) and take a payment via Paypal.
So I have put together most of my functionality but I’m having an issue and as an additional question I’m trying to understand where to learn the “right” way to put my plugin together.
The issue I have is that I have created an admin screen to store the credentials necessary to interact with the autoresponder and paypal. I’m using WordPress functions to pull the values when I need them.
Well, when I am taking the payment via paypal I’m using a library I found so I am doing this on a php page that I am loading the headers and footers for wordpress in the php so that I can appear to stay inside the wordpress framework to the user. Well I’m not able to access the values stored through the admin page because I don’t yet have the wordpress functions available when I need the values.
I’m sure none of this makes sense to you.
I’m happy to provide someone access to my code if you are willing to give me a few pointers. I take no offense so you don’t need to be nice if I am way off base.
I much prefer not to bother anyone and do it myself, I’m just not finding any documentation to guide me on the “right” or “best” way to make all this work together.
I have pulled most my hair out off and on over the last few monthst trying to figure out how to make this happen to no avail.
Thanks in advance for any advice or assistance you can offer.
Thanks also for reading my long post.
Have a great day.
Shawn
- The topic ‘Where to learn the "right" way to code my plugin?’ is closed to new replies.