• Hi,

    My website is in Dutch language.
    Because of that I need to change the text ‘You don’t have permission to view the content’ in Dutch language.
    Please let me know which file I have to change for this.

    Best regards,
    Chris Fraikin

Viewing 1 replies (of 1 total)
  • Hi Chris,
    Please see https://www.wpexpertdeveloper.com/wp-private-content-plus-faq/

    Part how can i change the default denied message

    Looks like you need to do:

    You have to add the following filter implementation to your functions.php file of theme to change the message or display nothing to user.
    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”;
    }

    Hope this helps?

    Regards,
    Marco van Rijn
    (Also dutch)

Viewing 1 replies (of 1 total)
  • The topic ‘I need to change a text in Dutch language’ is closed to new replies.