Software Engineering in WordPress, PHP, and Backend Development

Tag: WordPress (Page 185 of 219)

Articles, tips, and resources for WordPress-based development.

How To Programmatically Send Email in WordPress

Late last year, I shared a post in which I provided some steps on how to change the email sender in WordPress. Specifically, the post provides the steps necessary to change the name and the address from which the email is sent.

You can read the post in its entirety here – and it’s a quick read – but the short if it is that it uses the following filters:

The thing is, I never actually shared how to programmatically send email in WordPress. Though there’s a specific function for doing this, it can get a little more complicated if you’re writing an advanced feature of a theme, plugin, or an application.

Continue reading

How To Have WordPress Check if a User Exists

When it comes to building web applications, I’m a fan of letting a user use their email as their primary login – in fact, I’d go as far as to say that I wish our email was our primary identity: They are unique, it’s a single thing to remember, and we all must have them in order to get online these days.

To that end, whenever I’m working on an application that requires a username and password, I always default to using the email address for the user’s identification. Everything else can be managed in a profile setting, right?

If you’re building an application in WordPress where you’re building custom registration mechanisms through your own views, validation, and so on, you may find yourself needing to check to see if a user already exists.

And if you – like me – often use email as the user name, there’s a really easy way to perform this check.

Continue reading

Using Help Scout For WordPress Support

A few months ago, I wrote about Finding The Right WordPress Support System in which I laid out my points for what I’d look for in a support system. The post ended up generating a lot of really good feedback, and – as of last week – I officially chose Help Scout as my WordPress support system.

Obviously, it’s been about three months since I originally published that post so I clearly took my time (read: evaluated services after the responsibilities of my day job) deliberating on which service I to use.

As with any more decision, there were a number of factors that contributed to this decision.

Continue reading

The Truth About Building Premium WordPress Plugins

Earlier this week, I was talking with a fellow developer about building premium WordPress plugins (though this is true for any premium WordPress product) and he simply remarked:

It is amazing how much work goes into a single premium plugin.

Nothing profound, sure, but there’s a lot of truth to it, and I periodically get emails asking what all should one expect when it comes to building and releasing free and/or premium WordPress products.

With that said, here are some of my thoughts on all of the above.

Continue reading

Preprocessing Comments in WordPress

For a recent project, I needed to inspect the data incoming comments before any of the other filtering on the data took place. Sounds like a big snore-fest, right? In WordPress, preprocess comment filtering is something that’s actually really easy to do, but the thing is that the documentation was lacking.

Anyway, I did actually find a hook that allowed me to do what I needed to do, though there was no official Codex page explaining exactly how to use the filter.

As such, here’s a break down of exactly what I was trying to do, and then a link to the of the Codex article I drafted after I ended up getting familiar with the hook.

Continue reading

« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑