• Resolved jcfuniverse

    (@jcfuniverse)


    I need to change the message that says “You do not have sufficient permissions to access this form.” to my desire.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Saiful Islam

    (@saifislam01)

    Hi @jcfuniverse,

    How to change the message “You do not have sufficient permissions to access this form.”?

    There are two ways to change the message.

    • You can change the message by making a translation using Loco Translator
    • If you don’t know how to translate a plugin using a loco translator then please watch this video

    • Another way to change the message modifying the core plugin, To do that you need to modify the following files:

      wp-content/plugins/wp-user-frontend/includes/class-frontend-form-post.php:662

      wp-content/plugins/wp-user-frontend/includes/class-frontend-render-form.php:320

      But I don’t recommend modifying the core plugin, because every new update will remove this modification so the translation is the best way to change the message.

    • Hope this information will help.

      Cheers!

    Thread Starter jcfuniverse

    (@jcfuniverse)

    Ok I will try this out now. Thanks a lot.

    Plugin Support Saiful Islam

    (@saifislam01)

    You’re most welcome ??

    Now I am closing this thread, but if you have any queries in the future, you can create another thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing error message’ is closed to new replies.