- This topic has 1 reply, 2 voices, and was last updated 13 years, 8 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › Hide the restricted content message from appearing
Hi,
In the previous version of wp-emember I was able to remove the line below, as per your suggestion so that the restricted content message doesn’t appear to any logged in users or have any extra spacing, it simply hides it without them knowing. I can’t find this option in the new version, how can I make the change now?
Open the “wp_eMember1.php” file and search for the following line:
return ‘<b>’.EMEMBER_CONTENT_RESTRICTED.'</b>
‘;
once you find it just replace it with the following:
return ”;
Thanks,
Dana
We have added some formating to the message to add some CSS around it (it looks nicer).
Search for the following now:
return wp_emember_format_message(EMEMBER_CONTENT_RESTRICTED);
Once you find it replace it with the following:
return "";