- This topic has 6 replies, 3 voices, and was last updated 4 years, 4 months ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Message on "See more" tag when account is expired.
Hi
(for expired users) How can I customize the message “Your account is expired” on the “See/Read more” tag?
Thanks
Eric
Hi, thank you for reaching out to us. I have submitted a message to the developers to investigate further your request.
Kind regards.
Thank you!
1) That text can be customized in your language translation file (if you do a translation). It is here in the POT file:
https://github.com/wp-insider/simple-membership/blob/a156330da435a5f9b017ef234f7ff467c1f4b48a/simple-membership/languages/simple-membership.pot#L316
2) Alternatively, There is a filter hook for it that can be used to customize the text. The following is an example of snippet of code:
add_filter( 'swpm_account_expired_more_tag_msg', 'my_custom_expired_more_tag_msg' );
function my_custom_expired_more_tag_msg ( $msg ){
$msg = "This is my custom expired message. It can be customized here.";
return $msg;
}
3) Another option is if you are using the following addon, we can make the “Account Expired” message to also apply for the more tag one:
https://simple-membership-plugin.com/simple-membership-custom-messages-addon/
Thank you so much!
I am using simple-membership-custom-messages-addon, I think it makes sens to have it here.
However, I’ll use the 2nd solution to be able to add emoticons in within the message.
(I turn it “resolved”)
We have updated the following addon:
https://simple-membership-plugin.com/simple-membership-custom-messages-addon/