Getting the customer order notes for a WooCommerce order

For the WooCommerce Moneybird plugin I recently needed to retrieve the customer order notes which a user can add during the checkout procedure. This seems simple: there is a function “get_customer_order_notes()”.  Strangely this function does not return the order notes at all. An empty array is returned. This function seems to look into the comments, […]

Ultimate Member 2.0 compatibility

Ultimate Member 2.0 is coming, and there are breaking changes. We have now tested all our plugins with UM2.0, and made additions where necessary. In most cases the changes are limited to the way the settings are handled. If you have upgraded Ultimate Member you will notice the settings pages have changed. As a developer, […]

Ultimate Member keep me signed in option not possible to disable

If you use Ultimate Member, you might have come across the issue that it’s not possible to disable the “keep me signed in” checkbox, when on the login page. This is caused by the validation javascript in Ultimate Member, located in um-conditional.js. From each um-field class element, the data attribute “key” is retrieved. But this […]

Retrieving the license status for a key in Easy Digital Downloads

As a user of Easy Digital Downloads software licensing, I was looking for a way to retrieve the Easy Digital Downloads license status. I use this to determine the license status on submit of the support form of the EDD websites. Though I might have missed something, there doesn’t seem to be a direct way […]

Easy Digital Downloads MoneyBird 1.0.7

In the latest release of Easy Digital Downloads MoneyBird, EDD MoneyBird in short, we have added several cool new features: Support for periods in MoneyBird If you use EDD recurring, the synchonised invoices will now have the corresponding periods added. Support for the EDD VAT EU: VAT number and VAT company will be synchronised as […]

Sending a password reset link for PHP added WordPress users

Sometimes you need to create users in WordPress with PHP code, be it because you’re importing users, or because you want to let one user add other users. When you do this you want the new users to be able to reset their password. At first I thougth to use a password reset link, to […]

Exclude pages from caching based on post type

To improve site speed for a website I often use WP Rocket: I think it’s one of the fastest caching plugins for WordPress. When a page is being cached, it’s actually saved in a separate folder as a html file. This way, the website doesn’t have to create the page from the php code: there’s […]

Automatically send private messages in Ultimate Member

For a project where messages had to be sent automatically to the users without additional email being sent, I’ve chosen to use private messages for this purpose. In this project when a user uploads a new file, a private message should be sent to another user. This way there is not a flood of annoying […]