Menu Sidebar


I'm on twitter @dancameron and this is my site so you'll want to read my about page too.


Adding String Attachments (AddStringAttachment) with wp_mail

I couldn’t figure out how to add a string attachment to the notifications sent through wp_mail so I hacked something together — without modifying core files (as you might have seen in some Google search results). So I pass an attachment that’s a json encoded array that will intentionally fail. View the code on Gist. Since the attachment failed […]

The Case for Using Single Licenses and How to Implement with Easy Digital Downloads & Software Licensing

At Sprout Apps I wanted Sprout Invoices to be the only product that had a license, with all add-ons (or extensions) using that license to receive automatic updates (or validate against). This provides a lot of benefits, mainly:  a better customer experience, and improved recurring sales. If you’re not with me, consider your customer’s point […]

First! props.

A big change since I started Sprout Apps is putting aside time to contribute back to WordPress more. In the past my excuse of not contributing was always time but honestly bad experiences within core conversations and my lack of confidence held me back. I’ve come to realize my excuses suck and that I have a lot to benefit from […]

Developers: Stop Blaming Your Users

If you’re a developer and release code to the public: own your mistakes don’t blame your users for them. — Dan Cameron (@dancameron) September 10, 2014 Someone on the Advanced WordPress Facebook group posted this about how he was frustrated how plugin updates were being handled by a certain developer. That arena is definitely not the […]

EDD Recurring Payments & Discounts: Solution

As a follow to my EDD Recurring Payments & Discounts: Proposal I’d like to share my solution. Let me set this up for you first. Here’s the pricing options for Sprout Invoices. Note: the customer pays the “Signup Fee” and the “Price” initially, I’ve written about a proposal to change this already. The discount is for 25% off […]

Add a NinjaDemo Form on External Domain

At Sprout Apps we’re going to be using the awesome NinjaDemo plugin but we wanted to allow for a demo to be created without directing them to the bland demo site running Twenty Twelve :). Here’s the solution I came up with: Add some AJAX handlers on the WPMU demo site running NinjaDemo. I wish […]

Older Posts

Dan Cameron

I build stuff with WordPress

I'm currently building Sprout Apps to help small businesses and freelancers running WordPress.