To disable screenshot capability on your WordPress website, you can add the following code to your theme’s functions.php file:

function disable_screenshots() {
    if(!is_admin()) {

This will deregister the Thickbox script and styles, which are used for the screenshot feature in WordPress. This should effectively disable the screenshot capability for users who are not logged in as an admin.

Alternatively, you can use plugin like “No Right Click Images Plugin” or “Disable Right Click” which will disable the right click functionality on your website which will prevent screenshot functionality.

(Visited 8 times, 1 visits today)
Was this article helpful?

Leave a Reply

Your email address will not be published. Required fields are marked *

Close Search Window