The Labels Edit add-on lets you edit any string that is coming from the Paid Member Subscriptions plugin.
Some examples of what you can edit:
- field labels
- button names
- success, error, confirmation message
- & more
Install the Labels Edit Add-on
First of all, click on the button below to download the Labels Edit add-on. Once downloaded, you can install the add-on as a normal WordPress plugin, by uploading the .zip file in your WordPress Admin -> Plugins -> Add New -> Upload Plugin.
Alternatively, you can install the Labels Edit Add-on by extracting the folder found inside the archive and uploading the entire folder via FTP to your /wp-content/plugins folder found inside your WordPress install.
To edit a string, you need to open the dropdown, search or select the string you’re looking for, add the new label and hit Add Entry. This will change the label wherever it is outputted by the plugin.
If new strings/labels are added you will need to use the Rescan function in order to regenerate the labels index for the add-on.
So for example if you see a string coming from the plugin but you cannot find it in the dropdown, you should use this function to rescan for labels.
Variables with numbers like 1, 2, 3, etc. help us to output variables content in any order in a string.
You must be careful and place them like in the default string, see e.g.
Old Label -> In %1$d sec, click %2$s.%3$s
New Label -> Click %2$s.%3$s in %1$d sec
Variables can output links, user usernames, email, etc.
Note – You must escape characters in new labels like in the old labels by using \”
Old Label -> Password Reset from \”%1$s\”
New Label -> From \”%1$s\”, a password reset
Import and Export Labels
You can also export and import labels. This can be done through the metabox from the left bottom corner of your Labels Edit screen.
Pressing the Export button will generate a .json file with all the labels that you changed.
Keep in mind that all of your existing labels will be overwritten when you use the import functionality.