Category: Tips and Tricks
-
Integrating with Easy Digital Downloads
Easy Digital Downloads is an incredibly popular plugin that allows you to create a digital product store using WordPress. You can require users to be logged in to checkout in EDD, but that does not restrict a download link from being used when the user is not logged in. Restrictions can be put on the…
-
Use the MailChimp Integration Extension API to Add MailChimp Data to User Profile
The new MailChimp Integration Extension includes a user API in version 2.0. This can be used to call information about any specific list member without having to worry about formatting the request to send through the actual MailChimp API. The extension’s user API does this for you. This is an example using the extension’s API…
-
How to remove old block meta keys
Historically, the plugin’s method of blocking or unblocking individual posts and pages was with the meta keys “block” and “unblock”. These were replaced in 2.9.8 with a single post meta key “_wpmem_block” with a value of either 1 or 0. The plugin continues to read the old meta values, so there is no requirement to…
-
Use the Admin API to add a decline activation email
When using moderated registration, users are sent an email when they are activated. This tutorial describes how to create an email when the user is deleted instead of activated. This example uses the Admin API function wpmem_add_custom_email() to add a custom email that is sent to users when they are deleted.