RFC 5322 Support for is_email() function. Quick fix.
I was quite suprised when I tested his email
firstname.lastname@example.org and found out that the default WordPress function
is_email() returns false for this type of emails. In other words,
is_email() function isn’t able to validate email addresses with a “+” in it but those are valid email addresses as well as per RFC standard 5322. By the way, if you look at the official documentation of
is_email() function, there also said that it is not RFC compliant.
Multiple Image Upload Metabox
I had so many requests about multiple image uploads in comments in this tutorial, so I decided to create a separate tutorial specifically about that.
Our goal is to create something like this:
Guys, there are actually two ways of creating a meta box like that, the first way is an easy-breezy way, but you have to install my Simple Fields plugin first, the second way – is to do everything manually from scratch. But please do not worry, no matter what method you choose, I am going to cover both of them in this tutorial.
Sync WordPress User Profile Updates to Mailchimp and Vice Versa
In this tutorial we are going to work with both Mailchimp API and its webhooks. You can also find basic guides on how to work with the API and also a basic guide about webhooks on my website.
In the first part of the tutorial we are going to update user first and last name in WordPress profile and sync the changes with Mailchimp audience fields. Then we are going to update the merge tags directly in Mailchimp and configure the syncing with WP profiles.
Delete WordPress Users Once They Unsubscribe in Mailchimp
I already have a tutorial on how to subscribe a user to an audience after registration on WordPress website. It is know to find out how to do the opposite (from Mailchimp to WordPress).