Change default message of protected data
-
Hi
I added the code to functions.php but the default message is not changed ??
I still have:You don’t have permission to view the content
I used:
add_filter(‘wppcp_content_restricted_default_message’,’wppcp_content_restricted_default_message’,10,2);
function wppcp_content_restricted_default_message($message,$params){
return “Custom Message”;
}The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Change default message of protected data’ is closed to new replies.