Tag: utility
-
Using Anonymous Functions for Filters and Actions
The more customization that you do when building a WordPress site, the more you will find that you have a lot of functions hooked to actions and filters. Sometimes these functions might be quite simple, returning just a single line of text or replacing a single word. Is there an easy way to make this…
-
Adding WP-Members Columns to the User Admin Panel
With both the general plugin and the various extensions, there are several columns that you may wish to add to the User Admin Panel. In my user panel, I like to see the date a user registered, their last login, and when their subscription expires. These custom columns involve data that is native to…
-
Utility function to determine if a user registration is pending with the PayPal addon
For users that are diving into customizing their installation and using the PayPal addon, here is a utility function that will allow you to determine if a registered user is pending (i.e. they have not yet paid). This can be useful for content display that you may intend for any registered user regardless of payment…