• linuxjackie

    (@linuxjackie)


    How to fully disable ‘Edit Image’ function ?
    or only available for admin .

    Thank You
    Jackie

Viewing 5 replies - 1 through 5 (of 5 total)
  • sammills

    (@sammills)

    if you are using the latest version of WP User Avatar, There is a setting allow users to edit avatars underneath the Upload Size Limit slider.

    Thread Starter linuxjackie

    (@linuxjackie)

    Hi
    Thank You for reply .
    Actually , I want to disable all backend image edit function , not only Avatar .
    Thanks

    Moderator bcworkz

    (@bcworkz)

    You could just hide the edit buttons with CSS. A knowledgeable user could find a way to restore them, but it should deter most people. More on admin screen CSS here: Creating Admin Themes.

    A more secure way would be to identify the JS files responsible for editing, find where they are enqueued, then simply dequeue them in a later hook.

    Thread Starter linuxjackie

    (@linuxjackie)

    Thank You ,
    I will try it
    Jackie

    vince0190

    (@vince0190)

    Are you using the latest version of WP User Avatar? There is a setting “Allow users to edit avatars” underneath the Upload Size Limit slider.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to fully disable 'Edit Image' function ?’ is closed to new replies.