
Sign up to save your podcasts
Or
Episode 32 includes a discussion on add-on plugins, issue tracking across add-ons and the core repository, planning large plugins, custom tables, and, of course, what we have been working on recently.
This episode was sponsored by WP Ninjas, the creators of Ninja Demo and the highly popular Ninja Forms plugin.
Show Notes:
BRAD: Welcome to Episode 32. Today we’re going to be talking about what we’ve been up to lately: managing the code of the core plugin with add-ons, which can be a challenge, and laying out and planning the code for larger plugins and kind of the structure of a large plugin. Pippin, man, what have you been up to?
PIPPIN: Well, the last week or two have been a little bit busier than normal. We’re ramping up for a large EDD release, which is version 2.2. It’s a release that we’ve been working on since, well, 2.1, which went out in, I think, August, so it’s been about three or so months that we’ve been working on it. It was a pretty large update, not a whole lot of user facing changes. A lot of just background refinement still, few UI things, a couple of new features here and there, like minor stuff.
BRAD: What are some of the major plumbing? I guess I call it plumbing because it’s, like, the background.
PIPPIN: Yeah. One of the biggest ones that we did was we introduced a new product class called EDD Download. Previous, prior to 2.2, if you wanted to interact with a product as a developer, like let’s say in an extension or a theme, and you wanted to go get the sales of that product, the earnings of it, or you wanted to get all the price options or the download files attached to it, et cetera, there was just a whole mishmash of helper functions to use.
And so, we’ve now created a new class that makes all of that data much more accessible. It also makes it much easier to create new products as well. So since a product is a custom post type, you used to be able to just say, like, WP insert post. Set the post type to download. Set all the different stuff. And then update all of the post meta that you need.
BRAD: Right.
PIPPIN: Now you can do it much more simply and you can just say new EDD Download.
BRAD: Right, so you’ve created basically, like, an API that —
PIPPIN: Yep,
Episode 32 includes a discussion on add-on plugins, issue tracking across add-ons and the core repository, planning large plugins, custom tables, and, of course, what we have been working on recently.
This episode was sponsored by WP Ninjas, the creators of Ninja Demo and the highly popular Ninja Forms plugin.
Show Notes:
BRAD: Welcome to Episode 32. Today we’re going to be talking about what we’ve been up to lately: managing the code of the core plugin with add-ons, which can be a challenge, and laying out and planning the code for larger plugins and kind of the structure of a large plugin. Pippin, man, what have you been up to?
PIPPIN: Well, the last week or two have been a little bit busier than normal. We’re ramping up for a large EDD release, which is version 2.2. It’s a release that we’ve been working on since, well, 2.1, which went out in, I think, August, so it’s been about three or so months that we’ve been working on it. It was a pretty large update, not a whole lot of user facing changes. A lot of just background refinement still, few UI things, a couple of new features here and there, like minor stuff.
BRAD: What are some of the major plumbing? I guess I call it plumbing because it’s, like, the background.
PIPPIN: Yeah. One of the biggest ones that we did was we introduced a new product class called EDD Download. Previous, prior to 2.2, if you wanted to interact with a product as a developer, like let’s say in an extension or a theme, and you wanted to go get the sales of that product, the earnings of it, or you wanted to get all the price options or the download files attached to it, et cetera, there was just a whole mishmash of helper functions to use.
And so, we’ve now created a new class that makes all of that data much more accessible. It also makes it much easier to create new products as well. So since a product is a custom post type, you used to be able to just say, like, WP insert post. Set the post type to download. Set all the different stuff. And then update all of the post meta that you need.
BRAD: Right.
PIPPIN: Now you can do it much more simply and you can just say new EDD Download.
BRAD: Right, so you’ve created basically, like, an API that —
PIPPIN: Yep,