Tag: pluggable-functions
-
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 current password confirmation to change password form
Recently, a question came up about adding an additional field to the change password form for the user to confirm their current password as a requirement of changing the password. Adding the extra field is very easy with a filter. The trickier part is to handle validating the new form input and providing an error message.…
-
Working with Genesis: Stylesheet Pack
Many users of WordPress and WP-Members also use the Genesis framework (including me!). I have started to create stylesheets for the plugin that will work better with the Genesis child themes that are available from StudioPress. I’ve put together a package of the custom stylesheets currently available as well as a script for adding them…
-
Create a wp-members-pluggable.php file so that it is editable in the plugin editor
WP-Members looks for a wp-members-pluggable.php file when it loads. This is where you can store your plugged versions of the WP-Members pluggable functions. To create the pluggable file, you need do nothing more than create a file named wp-members-pluggable.php and save it to your WordPress plugins folder. But what if you would like to be…