Tag: filters
-
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…
-
Do not modify plugin files
This is an important best practice – never, ever modify plugin files directly. Rule 1: there is never a good reason to do this. Rule 2: refer to rule 1.
-
Add a file upload field to attach to admin notification email during registration
This tutorial will describe how to add a file upload field to the registration form and have the resulting file be sent with the admin notification email.
-
Creating an optgroup tag in a dropdown list
Here is a slightly more advanced example of using the wpmem_register_form_rows filter to modify a form input element. In this case, we will take a regular dropdown select field and add the optgroup label tag to sections of it. Note: for best results in understanding this customization, it is best to create a test field…
-
Make MailChimp subscribe field a hidden field in the WP-Members registration form
Suppose you are using the WP-Members registration form essentially as an opt-in to your MailChimp list. Essentially, you want anyone who fills out the form to be added to the MailChimp opt-in process. This requires you to have the MailChimp extension installed and a subscribe field set up and configured. This filter will take that field and…